# HG changeset patch # User Mads Kiilerich # Date 1477750309 -7200 # Node ID 68d3315c48d4d98bd950093a73c9278fae2ab9ab # Parent 48a96c4059dfa0968445a24fae91b09b595e9411 style: whitespace fixes in templates - make indentation more consistent and reduce future churn diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/auth/auth_settings.html Sat Oct 29 16:11:49 2016 +0200 @@ -27,13 +27,13 @@ ## enabled auth plugins

${_('Authentication Plugins')}

-
- -
${h.text("auth_plugins", class_='large')} - ${_('Comma-separated list of plugins; Kallithea will try user authentication in plugin order')} -
${_('Available built-in plugins')}
-
    - %for plugin_path in c.available_plugins: +
    + +
    ${h.text("auth_plugins", class_='large')} + ${_('Comma-separated list of plugins; Kallithea will try user authentication in plugin order')} +
    ${_('Available built-in plugins')}
    +
      + %for plugin_path in c.available_plugins:
    • @@ -42,10 +42,10 @@ ${plugin_path}
    • - %endfor -
    -
    -
    + %endfor +
+
+
%for cnt, module in enumerate(c.enabled_plugins): diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/defaults/defaults.html --- a/kallithea/templates/admin/defaults/defaults.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/defaults/defaults.html Sat Oct 29 16:11:49 2016 +0200 @@ -43,7 +43,6 @@ -
diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/gists/index.html --- a/kallithea/templates/admin/gists/index.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/gists/index.html Sat Oct 29 16:11:49 2016 +0200 @@ -65,7 +65,7 @@
- ${c.gists_pager.pager('$link_previous ~2~ $link_next', **request.GET.mixed())} + ${c.gists_pager.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}
%else: diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/my_account/my_account.html --- a/kallithea/templates/admin/my_account/my_account.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/my_account/my_account.html Sat Oct 29 16:11:49 2016 +0200 @@ -22,21 +22,21 @@ ##main
diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/my_account/my_account_emails.html --- a/kallithea/templates/admin/my_account/my_account_emails.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/my_account/my_account_emails.html Sat Oct 29 16:11:49 2016 +0200 @@ -37,12 +37,12 @@
-
+
${h.text('new_email', class_='medium')}
-
+
${h.submit('save',_('Add'),class_="btn btn-default")} diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/my_account/my_account_profile.html --- a/kallithea/templates/admin/my_account/my_account_profile.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/my_account/my_account_profile.html Sat Oct 29 16:11:49 2016 +0200 @@ -1,50 +1,50 @@ ${h.form(url('my_account'), method='post')}
-
-
+
+
${h.gravatar_div(c.user.email)}

- %if c.visual.use_gravatar: - ${_('Change your avatar at')} gravatar.com -
${_('Using')} ${c.user.email} - %else: - ${_('Avatars are disabled')} -
${c.user.email or _('Missing email, please update your user email address.')} - [${_('Current IP')}: ${c.ip_addr}] - %endif -

-
-
+ %if c.visual.use_gravatar: + ${_('Change your avatar at')} gravatar.com +
${_('Using')} ${c.user.email} + %else: + ${_('Avatars are disabled')} +
${c.user.email or _('Missing email, please update your user email address.')} + [${_('Current IP')}: ${c.ip_addr}] + %endif +

+
+
-
+
- ${h.text('username',class_='medium', readonly=c.readonly('username'))} + ${h.text('username',class_='medium', readonly=c.readonly('username'))}
-
+
-
+
${h.text('firstname',class_="medium", readonly=c.readonly('firstname'))}
-
+
-
+
${h.text('lastname',class_="medium", readonly=c.readonly('lastname'))}
-
+
-
+
${h.text('email',class_="medium", readonly=c.readonly('email'))}
-
+
diff -r 48a96c4059df -r 68d3315c48d4 kallithea/templates/admin/notifications/notifications.html --- a/kallithea/templates/admin/notifications/notifications.html Wed Sep 21 21:29:23 2016 +0200 +++ b/kallithea/templates/admin/notifications/notifications.html Sat Oct 29 16:11:49 2016 +0200 @@ -20,19 +20,19 @@ ${self.breadcrumbs()}
- - %if c.notifications: -
- ${_('Mark All Read')} -
- %endif -
- <%include file='notifications_data.html'/> -
+ + %if c.notifications: +
+ ${_('Mark All Read')} +
+ %endif +
+ <%include file='notifications_data.html'/> +