From cc917a621ee4f0d67f6201ba4007f7e69ec1003c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 28 Jun 2017 22:24:00 +0100 Subject: [PATCH] add delete button --- _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 }}