Only administrator can make changes to categories
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user