Merge pull request #324 from liangliangyy/dev

隐藏编辑链接
sh_branch
且听风吟 6 years ago committed by GitHub
commit 70afcb7071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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