25 lines
844 B
HTML
25 lines
844 B
HTML
|
{% 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 %}
|
||
|
<a class="btn btn-success" href="{% url 'economy:revenue_create' camp_slug=camp.slug %}"><i class="fas fa-plus"></i> Create Revenue</a>
|
||
|
{% 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 %}
|