From 3eb9505ec490d1157ea614422e69499ed7c729fc Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 28 Jun 2017 22:24:00 +0100 Subject: [PATCH] add delete button Former-commit-id: 2f4c852246863df64da176c58ada58ce3f445f18 [formerly 261760e95a81f32882e7bf3b57d6012c63911230] [formerly d2a6c7600bbdd51f717ab10c0310beb0ae4c45a6 [formerly cc917a621ee4f0d67f6201ba4007f7e69ec1003c]] Former-commit-id: 6fe869e23eb2393ab2527d5585faff5755d10741 [formerly c67901bc11bacd4101a89cb1e7c3936fe4b88bb7] Former-commit-id: 7e39134924a109b64b089ff76ac0777f9ed9e2cb --- _assets/_old/templates/actions.tmpl | 17 ----------------- _assets/src/App.vue | 7 ++++--- _assets/src/components/DeleteButton.vue | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 _assets/src/components/DeleteButton.vue diff --git a/_assets/_old/templates/actions.tmpl b/_assets/_old/templates/actions.tmpl index d307c171..0d50c9e1 100644 --- a/_assets/_old/templates/actions.tmpl +++ b/_assets/_old/templates/actions.tmpl @@ -1,14 +1,3 @@ -{{ define "info-button" }} - -{{ end }} - -{{ define "delete-button" }} - -{{ end }} - {{ define "right-side-actions" }} {{ template "info-button" }} {{ end }} @@ -33,12 +22,6 @@ {{- end }} - {{- if and .User.AllowEdit (.IsEditor) }} - - {{- end }}