[Bugfix] 修复组织管理员在资产详情页面不显示(删除/更新)按钮的问题

pull/3325/head
BaiJiangJie 2019-10-11 11:22:11 +08:00
parent 3986bbf7ac
commit 7574966ccf
1 changed files with 0 additions and 2 deletions

View File

@ -22,7 +22,6 @@
<li>
<a href="{% url 'assets:asset-user-list' pk=asset.id %}" class="text-center"><i class="fa fa-bar-chart-o"></i> {% trans 'Asset user list' %} </a>
</li>
{% if user.is_superuser %}
<li class="pull-right">
<a class="btn btn-outline btn-default" href="{% url 'assets:asset-update' pk=asset.id %}"><i class="fa fa-edit"></i>{% trans 'Update' %}</a>
</li>
@ -31,7 +30,6 @@
<i class="fa fa-trash-o"></i>{% trans 'Delete' %}
</a>
</li>
{% endif %}
</ul>
</div>
<div class="tab-content">