[Mpuls-commits] r5855 - base/trunk/mpulsweb/templates/search
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 5 13:11:26 CET 2012
Author: ludwig
Date: 2012-03-05 13:11:26 +0100 (Mon, 05 Mar 2012)
New Revision: 5855
Modified:
base/trunk/mpulsweb/templates/search/search.mako
Log:
Issue 2738: Replace url_for with url (templates/search)
Modified: base/trunk/mpulsweb/templates/search/search.mako
===================================================================
--- base/trunk/mpulsweb/templates/search/search.mako 2012-03-05 12:04:13 UTC (rev 5854)
+++ base/trunk/mpulsweb/templates/search/search.mako 2012-03-05 12:11:26 UTC (rev 5855)
@@ -51,7 +51,7 @@
<label for="show_own">
<img title="${_('Own cases')}"
alt="${_('Editor')}"
- src="${h.url_for('/images/icons/edit_editor.png')}"
+ src="${h.url('/images/icons/edit_editor.png')}"
width="22"
height="22">${_('Own')} ${self.showCount(c.count_own)}
</label><br>
@@ -59,7 +59,7 @@
<label for="show_other">
<img title="${_('Standin cases')}"
alt="Vertreter"
- src="${h.url_for('/images/icons/edit_editors_22.png')}"
+ src="${h.url('/images/icons/edit_editors_22.png')}"
width="22"
height="22">${_('Standin')} ${self.showCount(c.count_standin)}
</label>
@@ -76,19 +76,19 @@
<td colspan="2">
<input type="checkbox" name="state" id="show_open" value="1">
<label for="show_open">
- <img title="${_('Editable cases')}" alt="${_('Editable')}" src="${h.url_for('/images/icons/edit_22.png')}" height="22" width="22">${_('Editable cases')}</label><br>
+ <img title="${_('Editable cases')}" alt="${_('Editable')}" src="${h.url('/images/icons/edit_22.png')}" height="22" width="22">${_('Editable cases')}</label><br>
<input type="checkbox" name="state" id="show_markdelete" value="3" checked="checked">
<label for="show_markdelete">
- <img title="${_('Almost deleted')}" alt="${_('Almost deleted')}" src="${h.url_for('/images/icons/delete_inactive_22.png')}" height="22" width="22">${_('Almost deleted')} ${self.showCount(c.count_del)}
+ <img title="${_('Almost deleted')}" alt="${_('Almost deleted')}" src="${h.url('/images/icons/delete_inactive_22.png')}" height="22" width="22">${_('Almost deleted')} ${self.showCount(c.count_del)}
</label><br>
% if g.mpuls_config.is_enabled('case-module', 'anonymize'):
<input type="checkbox" name="state" id="show_markanonymize" value="4" checked="checked">
<label for="show_markanonymize">
- <img title="${_('Almost anonymized')}" alt="${_('Almost anonymized')}" src="${h.url_for('/images/icons/anonymise_inactive_22.png')}" height="22" width="22">${_('Almost anonymized')} ${self.showCount(c.count_markanon)}
+ <img title="${_('Almost anonymized')}" alt="${_('Almost anonymized')}" src="${h.url('/images/icons/anonymise_inactive_22.png')}" height="22" width="22">${_('Almost anonymized')} ${self.showCount(c.count_markanon)}
</label><br>
<input type="checkbox" name="state" id="show_anonymized" value="5" checked="checked">
<label for="show_anonymized">
- <img title="${_('Anonymized')}" alt="${_('Anonymized')}" src="${h.url_for('/images/icons/anonymise_inactive_22.png')}" height="22" width="22">${_('Anonymized')} ${self.showCount(c.count_anon)}
+ <img title="${_('Anonymized')}" alt="${_('Anonymized')}" src="${h.url('/images/icons/anonymise_inactive_22.png')}" height="22" width="22">${_('Anonymized')} ${self.showCount(c.count_anon)}
</label>
% endif
</td>
@@ -285,13 +285,13 @@
<form method="post" name="case_search" action="#" accept-charset="UTF-8">
</%def>
<%def name="buildSearchReset()">
- <a href="${h.url_for('#')}">${_('Reset search')}</a>
+ <a href="${h.url('#')}">${_('Reset search')}</a>
</%def>
<%def name="buildSearchExtend()">
% if c.extended_search:
- <a href="${h.url_for('#')}">${_('Hide extended search')}</a>
+ <a href="${h.url('#')}">${_('Hide extended search')}</a>
% else:
- <a href="${h.url_for('#')}">${_('Show extended search')}</a>
+ <a href="${h.url('#')}">${_('Show extended search')}</a>
% endif
${h.getHelp('extended_search')}
</%def>
More information about the Mpuls-commits
mailing list