diff --git a/kallithea/templates/admin/gists/show.html b/kallithea/templates/admin/gists/show.html --- a/kallithea/templates/admin/gists/show.html +++ b/kallithea/templates/admin/gists/show.html @@ -31,17 +31,17 @@
-
+
%if c.gist.gist_type == 'public':
${_('Public Gist')}
%else:
${_('Private Gist')}
%endif
-
+
${c.gist.gist_description}
-
+
%if c.gist.gist_expires == -1: ${_('Expires')}: ${_('Never')} %else: @@ -49,13 +49,13 @@ %endif
- %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()}
-
+ %if c.notifications: -
- ${_('Mark All Read')} -
+ ${_('Mark All Read')} %endif -
+
<%include file='notifications_data.html'/>
diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -14,10 +14,10 @@