From 28bfa89cb512d69ebb3e3a4fa0bd8f2a10f97e58 Mon Sep 17 00:00:00 2001 From: Matthias Jahn Date: Tue, 1 Jan 2013 22:37:01 +0100 Subject: [PATCH 3/4] - fix template files. image src-urls now follow project rules --- swat/templates/default/base/base.mako | 4 ++-- .../default/component/account-group-form.mako | 2 +- swat/templates/default/component/form-fields.mako | 4 ++-- swat/templates/default/component/pagination.mako | 4 ++-- swat/templates/default/component/popups.mako | 2 +- swat/templates/default/component/toolbar.mako | 2 +- swat/templates/default/derived/account.mako | 8 ++++---- swat/templates/default/derived/dashboard.mako | 4 ++-- swat/templates/default/derived/share.mako | 8 ++++---- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/swat/templates/default/base/base.mako b/swat/templates/default/base/base.mako index 1204d82..35a0a69 100644 --- a/swat/templates/default/base/base.mako +++ b/swat/templates/default/base/base.mako @@ -57,7 +57,7 @@ Base Page Title Head Tags <%def name="head_tags()"> - + ${h.javascript_link(h.url_for('/default/js/mootools-core-nc.js'))} ${h.javascript_link(h.url_for('/default/js/mootools-more-nc.js'))} @@ -98,7 +98,7 @@ Header Part. Contains items that will be in all pages except login % endif - + % if with_link: diff --git a/swat/templates/default/component/account-group-form.mako b/swat/templates/default/component/account-group-form.mako index 204cd50..45b85a0 100644 --- a/swat/templates/default/component/account-group-form.mako +++ b/swat/templates/default/component/account-group-form.mako @@ -65,7 +65,7 @@ % endif - ${_('Edit User Icon')} + ${_('Edit User Icon')} % endfor diff --git a/swat/templates/default/component/form-fields.mako b/swat/templates/default/component/form-fields.mako index ebcbc5d..03e1716 100644 --- a/swat/templates/default/component/form-fields.mako +++ b/swat/templates/default/component/form-fields.mako @@ -104,13 +104,13 @@ <%def name="popup(id, op)"> <% copy_to = c.p.get_value(id, 'field-ops-descriptor/' + op + '/link/copy-to') or c.p.get_value(id, 'id') %> - ${c.p.get_value(id, 'field-ops-descriptor/' + op + '/image/alt')} + ${c.p.get_value(id, 'field-ops-descriptor/' + op + '/image/alt')} <%def name="manual_add(id, op)"> <% copy_to = c.p.get_value(id, 'field-ops-descriptor/' + op + '/link/copy-to') or c.p.get_value(id, 'id') %> <% copy_from = c.p.get_value(id, 'field-ops-descriptor/' + op + '/link/copy-from') or c.p.get_value(id, 'id') %> - ${c.p.get_value(id, 'field-ops-descriptor/' + op + '/image/alt')} + ${c.p.get_value(id, 'field-ops-descriptor/' + op + '/image/alt')} <%def name="modifiers(id, op)"> diff --git a/swat/templates/default/component/pagination.mako b/swat/templates/default/component/pagination.mako index 71bb4fa..b952772 100644 --- a/swat/templates/default/component/pagination.mako +++ b/swat/templates/default/component/pagination.mako @@ -37,7 +37,7 @@ % if total_pages > 1 and current_page > 1: % endif @@ -62,7 +62,7 @@ % if total_pages > 1 and current_page < total_pages: % endif diff --git a/swat/templates/default/component/popups.mako b/swat/templates/default/component/popups.mako index ca55590..cdbf970 100644 --- a/swat/templates/default/component/popups.mako +++ b/swat/templates/default/component/popups.mako @@ -36,7 +36,7 @@ - Add Icon + Add Icon diff --git a/swat/templates/default/component/toolbar.mako b/swat/templates/default/component/toolbar.mako index f4c33bb..af3fab9 100644 --- a/swat/templates/default/component/toolbar.mako +++ b/swat/templates/default/component/toolbar.mako @@ -62,7 +62,7 @@ % endif - ${c.config.get_action_info('image/alt', action)} + ${c.config.get_action_info('image/alt', action)} ${c.config.get_action_info('link/name', action)} diff --git a/swat/templates/default/derived/account.mako b/swat/templates/default/derived/account.mako index 54bc7dd..b42b599 100644 --- a/swat/templates/default/derived/account.mako +++ b/swat/templates/default/derived/account.mako @@ -198,15 +198,15 @@ ${h.end_form()} <%def name="quick_tasks(id, type, is_disabled=False)">