# HG changeset patch # User Mads Kiilerich # Date 2016-12-24 17:26:48 # Node ID e34cf36e024a2f698e5b747bde9f98c7130da92a # Parent fe879761c23506fe6ce758258dfa04855e681055 style: introduce pull-left and pull-right in more places Based on work by Dominik Ruf. 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 @@