You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.2 KiB
HTML

8 years ago
{% extends 'layout.html' %}
{% load i18n %}
{% load static %}
8 years ago
{% block content %}
<div class="flex-page">
8 years ago
<div class="left-menu">
<div class="submenu">
<p class="menu-title">{% trans 'Tickets' %}</p>
<ul>
<li class="pure-menu-item">
<a href="{% url 'tickets:new' %}">
<i class="fa fa-plus-square fa-fw" aria-hidden="true"></i>&nbsp;
{% trans 'New Ticket' %}
</a>
</li>
<li class="pure-menu-item">
<a href="/tickets/open">
<i class="fa fa-folder-open fa-fw" aria-hidden="true"></i>&nbsp;
{% trans 'Open Tickets' %}
{% if open_n > 0 %}({{open_n}}){% endif %}
</a>
</li>
<li class="pure-menu-item">
<a href="/tickets/closed">
<i class="fa fa-folder fa-fw" aria-hidden="true"></i>&nbsp;
{% trans 'Closed Tickets' %}
</a>
</li>
</ul>
</div>
<div class="submenu">
{% if perms.tickets.view_any_ticket %}
<p class="menu-title">{% trans 'Staff' %}</p>
<ul>
<li class="pure-menu-item">
<a href="/tickets/all_open">
<i class="fa fa-fire-extinguisher fa-fw" aria-hidden="true"></i>&nbsp;
{% trans 'All Open' %}
{% if all_open_n > 0 %}({{all_open_n}}){% endif %}
</a>
</li>
<li class="pure-menu-item">
<a href="/tickets/all_closed">
<i class="fa fa-archive fa-fw" aria-hidden="true"></i>&nbsp;
{% trans 'All Closed' %}
</a>
</li>
</ul>
{% endif %}
</div>
8 years ago
</div>
<div class="content-box">
8 years ago
{% block tickets_content %}{% endblock %}
</div>
</div>
{% endblock %}