Commit f1016e28 by Guba Sándor

tempaltes: hide buttons to non superusers

parent 80178219
......@@ -10,8 +10,10 @@
{% include "dashboard/vm-detail/_operations.html" %}
<div class="pull-right" style="padding-top: 15px;">
{% if request.user.is_superuser %}
<a title="{% trans "Rename" %}" href="#" class="btn btn-default btn-xs node-details-rename-button"><i class="fa fa-pencil"></i></a>
<a title="{% trans "Delete" %}" data-node-pk="{{ }}" class="btn btn-default btn-xs real-link node-delete" href="{% url "dashboard.views.delete-node" %}"><i class="fa fa-trash-o"></i></a>
{% endif %}
<div id="node-details-rename">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment