forked from DGNum/gestiojeux
Compare commits
5 commits
8048c2593d
...
ec014351f5
Author | SHA1 | Date | |
---|---|---|---|
ec014351f5 | |||
c01ed7cb47 | |||
fe0dc46988 | |||
e050c45530 | |||
3a730251d4 |
|
@ -30,9 +30,16 @@
|
|||
<a class="button" href="{% url "inventory:game_loan" game.slug %}">
|
||||
Emprunter ou rendre « {{ game.title }} »
|
||||
</a>
|
||||
{% if user.is_staff %}
|
||||
<a class="button" href="{% url "inventory:qrcode_borrow" game.slug %}">
|
||||
Générer un QR-code
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if perms.inventory.change_game %}
|
||||
<a class="button" href="{% url "admin:inventory_game_change" game.id %}">
|
||||
Éditer l'outil
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<h2 id="description">Description</h2>
|
||||
{{ object.description|linebreaks }}
|
||||
|
|
Loading…
Reference in a new issue