sidebar.html 2.54 KB
Newer Older
1
{% extends "base.html" %}
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.

Copyright © 2017  Gabriel Détraz
Copyright © 2017  Goulven Kermarec
Copyright © 2017  Augustin Lemesle

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}

26
{% load acl %}
27
{% load i18n %}
28 29

{% block sidebar %}
30
    {% can_change Facture pdf %}
Levy--Falk Hugo's avatar
Levy--Falk Hugo committed
31
    <a class="list-group-item list-group-item-success" href="{% url "cotisations:new-custom-invoice" %}">
32
        <i class="fa fa-plus"></i> {% trans "Create an invoice" %}
lhark's avatar
lhark committed
33 34
    </a>
    <a class="list-group-item list-group-item-warning" href="{% url "cotisations:control" %}">
35
        <i class="fa fa-eye"></i> {% trans "Control the invoices" %}
lhark's avatar
lhark committed
36
    </a>
37
    {% acl_end %}
38
    {% can_view_all Facture %}
lhark's avatar
lhark committed
39
    <a class="list-group-item list-group-item-info" href="{% url "cotisations:index" %}">
40
        <i class="fa fa-list-ul"></i> {% trans "Invoices" %}
lhark's avatar
lhark committed
41
    </a>
42
    {% acl_end %}
Levy--Falk Hugo's avatar
Levy--Falk Hugo committed
43 44 45 46 47
    {% can_view_all CustomInvoice %}
    <a class="list-group-item list-group-item-info" href="{% url "cotisations:index-custom-invoice" %}">
        <i class="fa fa-list-ul"></i> {% trans "Custom invoices" %}
    </a>
    {% acl_end %}
48
    {% can_view_all Article %}
lhark's avatar
lhark committed
49
    <a class="list-group-item list-group-item-info" href="{% url "cotisations:index-article" %}">
50
        <i class="fa fa-list-ul"></i> {% trans "Available articles" %}
lhark's avatar
lhark committed
51
    </a>
52 53
    {% acl_end %}
    {% can_view_all Banque %}
lhark's avatar
lhark committed
54
    <a class="list-group-item list-group-item-info" href="{% url "cotisations:index-banque" %}">
55
        <i class="fa fa-list-ul"></i> {% trans "Banks" %}
lhark's avatar
lhark committed
56
    </a>
57 58
    {% acl_end %}
    {% can_view_all Paiement %}
lhark's avatar
lhark committed
59
    <a class="list-group-item list-group-item-info" href="{% url "cotisations:index-paiement" %}">
60
        <i class="fa fa-list-ul"></i> {% trans "Payment methods" %}
lhark's avatar
lhark committed
61
    </a>
62
    {% acl_end %}
63
{% endblock %}