From c0d8c7676e5dcaab4fc745db5f312651eae51ab2 Mon Sep 17 00:00:00 2001 From: Alice <alice.poggioli@hotmail.fr> Date: Wed, 18 Sep 2019 15:56:48 +0200 Subject: [PATCH] Remove the delete button in detail view of a resource. --- src/includes/mentor/resources/detail.pug | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug index 51fb1d90..4dd59199 100644 --- a/src/includes/mentor/resources/detail.pug +++ b/src/includes/mentor/resources/detail.pug @@ -1,13 +1,5 @@ include ../../components/widgets -sib-router - sib-route( name='confirm_suppress', use-id) - -dialog#confirm_suppress - h1 confirm_suppress - sib-delete(data-label="Delete" bind-resources) - sib-link(class="backlink pull-right", next="mentor-resource-list") X - .block_log.block_creat_count.no_shadow sib-link(class="backlink", next="mentor-resource-list") .like @@ -123,10 +115,6 @@ dialog#confirm_suppress action-detail='mentor-resource-detail' ) - sib-link( - bind-resources, - next="confirm_suppress" - ) <i class="fas fa-trash-alt"></i> \ No newline at end of file -- GitLab