Improve greatly the counter right management

This commit is contained in:
Skia
2016-07-18 00:47:56 +02:00
parent e92a73dfb1
commit 593050d9e2
14 changed files with 181 additions and 64 deletions

View File

@ -11,8 +11,7 @@
<ul>
{% for c in counter_list %}
<li><a href="{{ url('counter:details', counter_id=c.id) }}">{{ c }}</a> -
<a href="{{ url('counter:admin', counter_id=c.id) }}">Edit</a> -
<a href="{{ url('counter:delete', counter_id=c.id) }}">Delete</a></li>
<a href="{{ url('counter:admin', counter_id=c.id) }}">Edit</a></li>
{% endfor %}
</ul>
{% else %}