[Mpuls-commits] r4882 - in jmd/trunk: . jmdstrukturweb/templates jmdstrukturweb/templates/error

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 7 09:51:02 CEST 2011


Author: roland
Date: 2011-04-07 09:51:00 +0200 (Thu, 07 Apr 2011)
New Revision: 4882

Added:
   jmd/trunk/jmdstrukturweb/templates/error/
   jmd/trunk/jmdstrukturweb/templates/error/error.mako
Modified:
   jmd/trunk/ChangeLog
Log:
issue1982: overwrite the error template, as JMD doesn't use a support email

Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2011-04-06 15:27:25 UTC (rev 4881)
+++ jmd/trunk/ChangeLog	2011-04-07 07:51:00 UTC (rev 4882)
@@ -1,3 +1,8 @@
+2011-04-07  Roland Geider  <roland.geider at intevation.de>
+
+	* jmdstrukturweb/templates/error/error.mako: issue1982: overwrite the
+	  error template, as JMD doesn't use a support email
+
 2011-04-06  Roland Geider  <roland.geider at intevation.de>
 
 	* jmdstrukturweb/public/formed/formedtree.xml: issue1991: Move

Added: jmd/trunk/jmdstrukturweb/templates/error/error.mako
===================================================================
--- jmd/trunk/jmdstrukturweb/templates/error/error.mako	2011-04-06 15:27:25 UTC (rev 4881)
+++ jmd/trunk/jmdstrukturweb/templates/error/error.mako	2011-04-07 07:51:00 UTC (rev 4882)
@@ -0,0 +1,7 @@
+## -*- coding: utf-8 -*-
+<%inherit file="../auth/main.mako" />
+<h1>${_('%s Fehler %s') % (h.get_app_title(), c.error_code)}</h1>
+<p>
+${h.literal(_('  At the last query an unexpected error occured.<br>  If this error repeatly appears, please contact'))}
+  <a href="${c.error_email}">${c.error_email}</a>.
+</p>



More information about the Mpuls-commits mailing list