launderette_detail.jinja 896 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
{% extends "core/base.jinja" %}

{% block title %}
{% trans %}Launderette admin{% endtrans %}
{% endblock %}

{% block content %}
8
9
10
11
12
13
14
15
16
<h3>{% trans %}Selling{% endtrans %}</h3>
<p><a href="{{ url('launderette:main_click', launderette_id=launderette.id) }}">{% trans %}Sell{% endtrans %}</a></p>
<h3>{% trans %}Tokens{% endtrans %}</h3>
<ul>
    {% for t in launderette.tokens.all() %}
    <li>{{ t }}</li>
    {% endfor %}
</ul>
<hr>
17
18
19
20
21
22
23
24
<h3>{% trans %}Machines{% endtrans %}</h3>
<p><a href="{{ url('launderette:machine_new') }}?launderette={{ launderette.id }}">{% trans %}New machine{% endtrans %}</a></p>
<ul>
    {% for m in launderette.machines.all() %}
    <li><a href="{{ url('launderette:machine_edit', machine_id=m.id) }}">{{ m }}</a> -
        <a href="{{ url('launderette:machine_delete', machine_id=m.id) }}">{% trans %}Delete{% endtrans %}</a></li>
    {% endfor %}
</ul>
Skia's avatar
Skia committed
25
26
27
28
29
{% endblock %}