[Mpuls-commits] r2788 - in jmd/trunk: . jmdweb/templates/jmdstruktur
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri May 28 12:29:49 CEST 2010
Author: bh
Date: 2010-05-28 12:29:48 +0200 (Fri, 28 May 2010)
New Revision: 2788
Modified:
jmd/trunk/ChangeLog
jmd/trunk/jmdweb/templates/jmdstruktur/new.mako
jmd/trunk/jmdweb/templates/jmdstruktur/overview.mako
jmd/trunk/jmdweb/templates/jmdstruktur/permission.mako
Log:
* jmdweb/templates/jmdstruktur/new.mako,
jmdweb/templates/jmdstruktur/overview.mako,
jmdweb/templates/jmdstruktur/permission.mako: Use h.url_for
consistently for all-intra application URLs.
Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog 2010-05-28 09:07:07 UTC (rev 2787)
+++ jmd/trunk/ChangeLog 2010-05-28 10:29:48 UTC (rev 2788)
@@ -1,3 +1,10 @@
+2010-05-28 Bernhard Herzog <bh at intevation.de>
+
+ * jmdweb/templates/jmdstruktur/new.mako,
+ jmdweb/templates/jmdstruktur/overview.mako,
+ jmdweb/templates/jmdstruktur/permission.mako: Use h.url_for
+ consistently for all-intra application URLs.
+
2010-05-26 Bernhard Herzog <bh at intevation.de>
* jmdstrukturweb/templates/casemanagement/new.mako: Use h.url_for
Modified: jmd/trunk/jmdweb/templates/jmdstruktur/new.mako
===================================================================
--- jmd/trunk/jmdweb/templates/jmdstruktur/new.mako 2010-05-28 09:07:07 UTC (rev 2787)
+++ jmd/trunk/jmdweb/templates/jmdstruktur/new.mako 2010-05-28 10:29:48 UTC (rev 2788)
@@ -3,12 +3,14 @@
<%def name="buildNavipath()">
${parent.buildNavipath()}
- <li><a href="/case/">${_('cm_np_root')}</a></li>
- <li><a href="/case/">${_('cm_np_new')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_new')}</a></li>
</%def>
<div class="waska_form">
- <form id="waska_form" action="/case/newAction" accept-charset="UTF-8"
+ <form id="waska_form"
+ action="${h.url_for(controller='/case', action='newAction')}"
+ accept-charset="UTF-8"
name="waska_form" method="POST">
<h1>Neue Fallakte anlegen</h1>
<p>
Modified: jmd/trunk/jmdweb/templates/jmdstruktur/overview.mako
===================================================================
--- jmd/trunk/jmdweb/templates/jmdstruktur/overview.mako 2010-05-28 09:07:07 UTC (rev 2787)
+++ jmd/trunk/jmdweb/templates/jmdstruktur/overview.mako 2010-05-28 10:29:48 UTC (rev 2788)
@@ -3,8 +3,8 @@
<%def name="buildNavipath()">
${parent.buildNavipath()}
- <li><a href="/case/">${_('cm_np_root')}</a></li>
- <li><a href="/case/">${_('cm_np_new')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_new')}</a></li>
</%def>
<h1>Strukturdaten Übersicht</h1>
Modified: jmd/trunk/jmdweb/templates/jmdstruktur/permission.mako
===================================================================
--- jmd/trunk/jmdweb/templates/jmdstruktur/permission.mako 2010-05-28 09:07:07 UTC (rev 2787)
+++ jmd/trunk/jmdweb/templates/jmdstruktur/permission.mako 2010-05-28 10:29:48 UTC (rev 2788)
@@ -3,12 +3,14 @@
<%def name="buildNavipath()">
${parent.buildNavipath()}
- <li><a href="/case/">${_('cm_np_root')}</a></li>
- <li><a href="/case/">${_('cm_np_new')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
+ <li><a href="${h.url_for(controller='/case')}">${_('cm_np_new')}</a></li>
</%def>
<div class="waska_form">
- <form id="waska_form" action="/jmdstruktur/permissionAction" accept-charset="UTF-8"
+ <form id="waska_form"
+ action="${h.url_for(controller='/jmdstruktur', action='permissionAction')}"
+ accept-charset="UTF-8"
name="waska_form" method="POST">
<h1>Benutzerrechte</h1>
<p>
More information about the Mpuls-commits
mailing list