Change status display of posts
This commit is contained in:
@@ -80,10 +80,12 @@
|
||||
|
||||
<label>Status: </label>
|
||||
<span>
|
||||
{% if post.status == 0 %}
|
||||
Nonaktif
|
||||
{% else %}
|
||||
{% if post.status == 1 %}
|
||||
Aktif
|
||||
{% elseif post.status == 2 %}
|
||||
Belum aktif
|
||||
{% else %}
|
||||
Nonaktif
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user