[Mpuls-commits] r5880 - in base/trunk/mpulsweb/templates: privacy/default settings/dialogs statements
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Thu Mar 8 11:43:38 CET 2012
Author: ludwig
Date: 2012-03-08 11:43:38 +0100 (Thu, 08 Mar 2012)
New Revision: 5880
Modified:
base/trunk/mpulsweb/templates/privacy/default/privacy_statement.html
base/trunk/mpulsweb/templates/settings/dialogs/success_edit.mako
base/trunk/mpulsweb/templates/statements/statements.mako
Log:
Issue 2738: Replace url_for, missing in statements, settings and privacy
Modified: base/trunk/mpulsweb/templates/privacy/default/privacy_statement.html
===================================================================
--- base/trunk/mpulsweb/templates/privacy/default/privacy_statement.html 2012-03-08 10:31:20 UTC (rev 5879)
+++ base/trunk/mpulsweb/templates/privacy/default/privacy_statement.html 2012-03-08 10:43:38 UTC (rev 5880)
@@ -13,11 +13,11 @@
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="expires" content="0">
<link rel="shortcut icon" type="image/x-icon" href="/images/mpuls.ico">
-<link href="${h.url_for('/styles/all.css')}" media="all" rel="stylesheet"
+<link href="${h.url('/styles/all.css')}" media="all" rel="stylesheet"
type="text/css">
-<link href="${h.url_for('/styles/print.css')}" media="screen" rel="stylesheet"
+<link href="${h.url('/styles/print.css')}" media="screen" rel="stylesheet"
type="text/css">
-<link href="${h.url_for('/styles/print.css')}" media="print" rel="stylesheet"
+<link href="${h.url('/styles/print.css')}" media="print" rel="stylesheet"
type="text/css">
<style type="text/css">
.statement_content {
Modified: base/trunk/mpulsweb/templates/settings/dialogs/success_edit.mako
===================================================================
--- base/trunk/mpulsweb/templates/settings/dialogs/success_edit.mako 2012-03-08 10:31:20 UTC (rev 5879)
+++ base/trunk/mpulsweb/templates/settings/dialogs/success_edit.mako 2012-03-08 10:43:38 UTC (rev 5880)
@@ -2,9 +2,9 @@
<%inherit file="../../main.mako" />
<%def name="buildNavipath()">
${parent.buildNavipath()}
- <li><a href="${h.url_for(controller='/administration')}">${_('Administration')}</a></li>
- <li><a href="${h.url_for(controller='/administration', action='showSettings')}">${_('Show settings')}</a></li>
- <li><a href="${h.url_for(controller='/administration', action='editSettings')}">${_('Edit settings')}</a></li>
+ <li><a href="${h.url(controller='administration', action='index')}">${_('Administration')}</a></li>
+ <li><a href="${h.url(controller='administration', action='showSettings')}">${_('Show settings')}</a></li>
+ <li><a href="${h.url(controller='administration', action='editSettings')}">${_('Edit settings')}</a></li>
<li><a href="#">${_('Settings saved!')}</a></li>
</%def>
<%include file="../../dialogs/success.mako" />
Modified: base/trunk/mpulsweb/templates/statements/statements.mako
===================================================================
--- base/trunk/mpulsweb/templates/statements/statements.mako 2012-03-08 10:31:20 UTC (rev 5879)
+++ base/trunk/mpulsweb/templates/statements/statements.mako 2012-03-08 10:43:38 UTC (rev 5880)
@@ -1,6 +1,6 @@
## -*- coding: utf-8 -*-
<li>
- <a href="${h.url_for(controller='statement', action='index')}"
+ <a href="${h.url(controller='statement', action='index')}"
onclick="return checkModification();"> ${_('Available statements')}
</a>
</li>
More information about the Mpuls-commits
mailing list