Show ID of items and variations in backend

This commit is contained in:
Raphael Michel
2021-01-22 14:48:32 +01:00
parent fa5f33d3c6
commit 7165cc4c3b
2 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,9 @@
<i class="fa fa-arrow-down"></i></button>
<button type="button" class="btn btn-danger" data-formset-delete-button>
<i class="fa fa-trash"></i></button>
{% if form.instance.id %}
<br><small class="text-muted">#{{ form.instance.id }}</small>
{% endif %}
</div>
</div>
</h4>

View File

@@ -50,7 +50,8 @@
<a href="
{% url "control:event.item" organizer=request.event.organizer.slug event=request.event.slug item=i.id %}">{{ i }}</a>
{% if not i.active %}</strike>{% endif %}
</strong>
</strong>
<br><small class="text-muted">#{{ i.pk }}</small>
</td>
<td>
{% if i.available_from or i.available_until %}