club_tools.jinja 973 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
{% extends "core/base.jinja" %}

{% block content %}
Skia's avatar
Skia committed
4
5
6
7
<h3>{% trans %}Club tools{% endtrans %}</h3>
<p><a href="{{ url('club:club_view', club_id=object.id) }}">Back to club</a></p>
<ul>
    {% if object.counters.all()|count > 0 %}
8
9
10
11
12
13
14
15
16
    <h4>{% trans %}Counters:{% endtrans %}</h4>
    <ul>
        {% for c in object.counters.all() %}
        <li>{{ c }}:
            <a href="{{ url('counter:details', counter_id=c.id) }}">View</a>
            <a href="{{ url('counter:admin', counter_id=c.id) }}">Edit</a>
        </li>
        {% endfor %}
    </ul>
Skia's avatar
Skia committed
17
18
19
20
    {% endif %}
    {% if object.club_account %}
    <li>Accouting: <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object }}</a></li>
    {% endif %}
Skia's avatar
Skia committed
21
    {% if object.unix_name == settings.SITH_LAUNDERETTE_MANAGER['unix_name'] %}
22
    <li><a href="{{ url('launderette:launderette_list') }}">{% trans %}Manage launderettes{% endtrans %}</a></li>
Skia's avatar
Skia committed
23
    {% endif %}
Skia's avatar
Skia committed
24
</ul>
Skia's avatar
Skia committed
25
26
27
28
{% endblock %}