[Mpuls-commits] r5854 - wasko/trunk/waskoweb/templates/settings
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 5 13:04:13 CET 2012
Author: ludwig
Date: 2012-03-05 13:04:13 +0100 (Mon, 05 Mar 2012)
New Revision: 5854
Modified:
wasko/trunk/waskoweb/templates/settings/edit.mako
wasko/trunk/waskoweb/templates/settings/show.mako
Log:
Issue 2738 : Replace url_for with url (templates/settings)
Modified: wasko/trunk/waskoweb/templates/settings/edit.mako
===================================================================
--- wasko/trunk/waskoweb/templates/settings/edit.mako 2012-03-05 12:03:31 UTC (rev 5853)
+++ wasko/trunk/waskoweb/templates/settings/edit.mako 2012-03-05 12:04:13 UTC (rev 5854)
@@ -9,13 +9,13 @@
<%def name="buildNavipath()">
${parent.buildNavipath()}
<li>
- <a href="${h.url_for(controller='/settings')}">${_('Administration')}</a>
+ <a href="${h.url(controller='settings', action='index')}">${_('Administration')}</a>
</li>
<li>
- <a href="${h.url_for(controller='/settings', action='show')}">${_('Show settings')}</a>
+ <a href="${h.url(controller='settings', action='show')}">${_('Show settings')}</a>
</li>
<li>
- <a href="${h.url_for(controller='/settings', action='edit')}">${_('Edit settings')}</a>
+ <a href="${h.url(controller='settings', action='edit')}">${_('Edit settings')}</a>
</li>
</%def>
@@ -27,7 +27,7 @@
<div class="actions">
<ul>
<li>
- <a href="${h.url_for(controller='settings',
+ <a href="${h.url(controller='settings',
action='show')}">
${_('Back to: institution settings')}
</a>
@@ -41,7 +41,7 @@
<div id="admin_edit_settings">
<p>${_('Edit institution settings.')}</p>
<div class="waska_form">
- <form action="${h.url_for(controller='/settings', action='editAction')}" method="POST">
+ <form action="${h.url(controller='settings', action='editAction')}" method="POST">
<fieldset>
<legend>${_('Specification for agency')}</legend>
<div class="waska_form_element w30">
@@ -79,7 +79,7 @@
<div class="waska_form_element w100">
% if c.form_errors.get('anon_transfer'):
<a href="#error_list">
- <img class="smallicon" alt="" src="${h.url_for('/images/icons/info/failure_22.png')}">
+ <img class="smallicon" alt="" src="${h.url('/images/icons/info/failure_22.png')}">
</a>
% endif
<input id="anon_transfer" name="anon_transfer" type="checkbox"/>
Modified: wasko/trunk/waskoweb/templates/settings/show.mako
===================================================================
--- wasko/trunk/waskoweb/templates/settings/show.mako 2012-03-05 12:03:31 UTC (rev 5853)
+++ wasko/trunk/waskoweb/templates/settings/show.mako 2012-03-05 12:04:13 UTC (rev 5854)
@@ -4,10 +4,10 @@
<%def name="buildNavipath()">
${parent.buildNavipath()}
<li>
- <a href="${h.url_for(controller='/settings')}">${_('Administration')}</a>
+ <a href="${h.url(controller='settings', action='index')}">${_('Administration')}</a>
</li>
<li>
- <a href="${h.url_for(controller='/settings', action='show')}">${_('Show settings')}</a>
+ <a href="${h.url(controller='settings', action='show')}">${_('Show settings')}</a>
</li>
</%def>
@@ -19,7 +19,7 @@
<div class="actions">
<ul>
<li>
- <a href="${h.url_for(controller='/settings', action='edit')}">
+ <a href="${h.url(controller='settings', action='edit')}">
${_('Edit settings')}
</a>
</li>
More information about the Mpuls-commits
mailing list