diff options
-rw-r--r-- | wqflask/wqflask/templates/show_trait_details.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html index 1250d728..75192a18 100644 --- a/wqflask/wqflask/templates/show_trait_details.html +++ b/wqflask/wqflask/templates/show_trait_details.html @@ -244,5 +244,10 @@ {% endif %} {% endif %} </div> + {% if admin_status != None and admin_status.get('metadata', DataRole.VIEW) > DataRole.VIEW %} + <div class="btn-group"> + <button type="button" id="edit_resource" class="btn btn-success" title="Edit Privileges" onclick="window.open('/resource-management/resources/{{ resource_id }}', '_blank')">Edit Privileges</button> + </div> + {% endif %} </div> |