隐藏编辑链接

sh_branch
liangliangyy 6 years ago
parent cb6172b4a4
commit 2af91f1d6f

@ -41,7 +41,7 @@
</span>
</a>
</span>
{% if user.is_authenticated %}
{% if user.is_superuser %}
<a href="{{ article.get_admin_url }}">编辑</a>
{% endif %}
</span>

Loading…
Cancel
Save