Only administrator can make changes to categories

This commit is contained in:
2017-09-11 10:20:20 +07:00
parent eeaa2427a0
commit 146b5d33e6
2 changed files with 14 additions and 7 deletions

View File

@@ -29,9 +29,11 @@
<br />
{% if status %}
{% if privilage != "" %}
<a href="/posts/entry">+ Tambah Pengumuman</a>
<a href="/posts/category">+ Tambah Kategori</a>
{% if privilage == 1 %}
<a href="/posts/category">+ Tambah Kategori</a>
{% endif %}
<a href="/logout">Keluar</a>
{% endif %}
{% endif %}
{% endblock %}