redesign location index page
This commit is contained in:
parent
5647e23e12
commit
865e8bb09a
@ -19,11 +19,11 @@
|
||||
</tr>
|
||||
{% for loc in location_list %}
|
||||
<tr>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}">{{ loc.code|default_if_none:"" }}</a></td>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}">{{ loc.name|default_if_none:"" }}</a></td>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}">{{ loc.street|default_if_none:"" }}</a></td>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}">{{ loc.plz|default_if_none:"" }}</a></td>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}">{{ loc.city|default_if_none:"" }}</a></td>
|
||||
<td><a href="{% url 'billard:location_detail' loc.id %}" class="btn btn-primary">{{ loc.code|default_if_none:"" }}</a></td>
|
||||
<td>{{ loc.name|default_if_none:"" }}</td>
|
||||
<td>{{ loc.street|default_if_none:"" }}</td>
|
||||
<td>{{ loc.plz|default_if_none:"" }}</td>
|
||||
<td>{{ loc.city|default_if_none:"" }}</td>
|
||||
{% if perms.billard.change_accounting %}
|
||||
<td><a href="{% url 'billard:accounting_detail' loc.id %}" class="btn btn-primary">Abrechnen</a></td>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user