[Mpuls-commits] r4116 - base/trunk/mpulsweb/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 3 15:27:34 CET 2010
Author: torsten
Date: 2010-11-03 15:27:34 +0100 (Wed, 03 Nov 2010)
New Revision: 4116
Modified:
base/trunk/mpulsweb/templates/base.mako
Log:
Show demo notice if server is run as demo server. showdemonotice is 1
Modified: base/trunk/mpulsweb/templates/base.mako
===================================================================
--- base/trunk/mpulsweb/templates/base.mako 2010-11-03 14:27:06 UTC (rev 4115)
+++ base/trunk/mpulsweb/templates/base.mako 2010-11-03 14:27:34 UTC (rev 4116)
@@ -71,6 +71,11 @@
<script src="${h.url_for('/js/check.js')}" type="text/javascript"></script>
</head>
<body onload="clearModification();">
+ % if g.mpuls_config.is_enabled('common', 'showdemonotice'):
+ <div class="widget container" id="demonotice">
+ ${h.literal(_('You are using a public demo installation of %s. Do not enter any real personal data! Please note, that all data will be deleted on server resets in regular intervals')) % h.get_app_title()}
+ </div>
+ % endif
${next.body()}
</body>
</html>
More information about the Mpuls-commits
mailing list