listing all unused lables in admin panel, and imporvements to listing used ones

This commit is contained in:
2018-10-17 15:52:26 +02:00
parent 7b7c1145ab
commit b77c030ff0
3 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<p>ALL used links: (this many)</p>
<p>Showing all <strong>{{count}}</strong> attached links</p>
{% for label in linklist %}
<p>
<span class="code">{{label['code']}}</span>:
+11
View File
@@ -0,0 +1,11 @@
{% extends 'base.html' %}
{% block content %}
<p>Showing all <strong>{{count}}</strong> unused labels:</p>
{% for label in linklist %}
<p>
<span class="code">{{label['code']}}</span>:
<a href="/code/{{label['code']}}.png" class="linkonalist">Show QR</a> | <a href="/{{label['code']}}" class="linkonalist">Edit</a>
</p>
{% endfor %}
{% endblock %}