2018-11-20 16:12:32 +00:00
{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}
Revenues | {{ block.super }}
{% endblock %}
{% block extra_head %}
< script src = "{% static " js / jquery . dataTables . min . js " % } " > < / script >
< link rel = "stylesheet" href = "{% static 'css/jquery.dataTables.min.css' %}" >
{% endblock extra_head %}
< {% block content %}
< h3 > Your {{ camp.title }} Revenues< / h3 >
{% include 'includes/revenue_list_panel.html' %}
{% if perms.camps.revenue_create_permission %}
2019-03-28 06:04:53 +00:00
< a class = "btn btn-success" href = "{% url 'economy:chain_list' camp_slug=camp.slug %}" > < i class = "fas fa-plus" > < / i > Create Revenue< / a >
2018-11-20 16:12:32 +00:00
{% else %}
< div class = "alert alert-danger" > < p class = "lead" > < span class = "text-error" > You don't have permission to add revenue. Please ask someone from the Economy team to add the permission if you need it.< / p > < / div >
{% endif %}
{% endblock %}