- %if h.HasPermissionAny('hg.admin')() or c.gist.owner_id == c.authuser.user_id:
+ %if h.HasPermissionAny('hg.admin')() or c.gist.owner_id == c.authuser.user_id:
${h.form(url('gist_delete', gist_id=c.gist.gist_id))}
${h.submit('remove_gist', _('Delete'),class_="btn btn-danger btn-xs",onclick="return confirm('"+_('Confirm to delete this Gist')+"');")}
${h.end_form()}
- %endif
+ %endif
## only owner should see that
%if h.HasPermissionAny('hg.admin')() or c.gist.owner_id == c.authuser.user_id:
diff --git a/kallithea/templates/admin/notifications/notifications.html b/kallithea/templates/admin/notifications/notifications.html
--- a/kallithea/templates/admin/notifications/notifications.html
+++ b/kallithea/templates/admin/notifications/notifications.html
@@ -19,17 +19,15 @@
${self.breadcrumbs()}