2018-08-29 22:52:32 +00:00
{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}
Expenses | {{ 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 }} Expenses< / h3 >
2018-11-20 16:12:32 +00:00
{% include 'includes/expense_list_panel.html' %}
2018-08-29 22:52:32 +00:00
{% if perms.camps.expense_create_permission %}
< a class = "btn btn-primary" href = "{% url 'economy:expense_create' camp_slug=camp.slug %}" > < i class = "fas fa-plus" > < / i > Create Expense< / a >
{% else %}
< div class = "alert alert-danger" > < p class = "lead" > < span class = "text-error" > You don't have permission to add expenses. Please ask someone from the Economy team to add the permission if you need it.< / p > < / div >
{% endif %}
{% endblock %}