Skip to content

Commit

Permalink
fix bookmark for only superuser
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongnb14 committed Oct 24, 2021
1 parent c21cfa7 commit 6939aa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin_reskin/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@

{% block footer %}
<div id="footer">
<span class="btn-bookmark"><i class="icon far fa-bookmark"></i></span>
{% if request.user.is_superuser %}
<span class="btn-bookmark"><i class="icon far fa-bookmark"></i></span>
{% endif %}
</div>
{% endblock %}

0 comments on commit 6939aa1

Please sign in to comment.