[Mpuls-commits] r5711 - base/trunk/mpulsweb/templates/privacy/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 15 12:36:00 CET 2011


Author: torsten
Date: 2011-12-15 12:35:58 +0100 (Thu, 15 Dec 2011)
New Revision: 5711

Added:
   base/trunk/mpulsweb/templates/privacy/dialogs/missing_syncpermission.mako
Log:
Added new template witch dialog for asking for the syncpermission with the
meta-server.


Added: base/trunk/mpulsweb/templates/privacy/dialogs/missing_syncpermission.mako
===================================================================
--- base/trunk/mpulsweb/templates/privacy/dialogs/missing_syncpermission.mako	2011-12-15 11:34:41 UTC (rev 5710)
+++ base/trunk/mpulsweb/templates/privacy/dialogs/missing_syncpermission.mako	2011-12-15 11:35:58 UTC (rev 5711)
@@ -0,0 +1,34 @@
+## -*- coding: utf-8 -*- 
+<%inherit file="../../main.mako" />
+<%def name="buildNavipath()">
+  ${parent.buildNavipath()}
+  <li><a href="${h.url_for(controller='/case')}">${_('Case Management')}</a></li>
+  <li><a href="${h.url_for(controller='/case_overview')}">${_('Case document overview')}</a></li>
+  <li><a href="#">${_('cm_np_show')}</a></li>
+</%def>
+<div class="dialog" />
+<h1><img src="${h.url_for('/images/icons/info/info.png')}" alt="" width="48" height="48" />${_('Missing data for the sync persmission')}</h1>
+<p>${_('The sync permission of the youth to sync data to the meta server. You are resonsible for this.')}</p>
+% if h.hasRole(['cm']):
+  <p>${h.literal(_('Please notice that the sync permission needs to be written.'))}</p>
+    <ol>
+      <li>
+        ${h.literal(_('<strong>Statement accepted</strong>, when a statement is obtained.'))}
+      </li>
+      <li>
+        ${h.literal(_('<strong>Statement unclear</strong>, when at the moment no statement is available, but should be obtained.'))}
+      </li>
+      <li>${h.literal(_('<strong>Statement declined</strong>, when no statement is available and wont be available.'))}
+      </li>
+    </ol>
+  </p>
+  <p>
+    <a class="button" href="${h.url_for(controller="meta", action="index", id=c.ds_id, confirmed=0)}">${_('Statement accepted')}</a>
+    <a class="button" href="${c.targeturl}">${_('Statement unclear')}</a>
+    <a class="button" href="${h.url_for(controller="meta", action="withdraw_only", id=c.ds_id, confirmed=0)}">${_('Statement declined')}</a>
+  </p>
+% else:
+  <p>
+    <a class="button" href="${h.url_for(controller='/case', action='select', id=c.ds_id, confirmed=1)}">${_('OK')}</a>
+  </p>
+% endif



More information about the Mpuls-commits mailing list