[Mpuls-commits] r6014 - base/trunk/mpulsweb/templates/privacy/dialogs
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Fri Aug 3 13:33:30 CEST 2012
Author: ludwig
Date: 2012-08-03 13:33:30 +0200 (Fri, 03 Aug 2012)
New Revision: 6014
Added:
base/trunk/mpulsweb/templates/privacy/dialogs/missing_caselink.mako
Log:
Checkin missing dialog.
Added: base/trunk/mpulsweb/templates/privacy/dialogs/missing_caselink.mako
===================================================================
--- base/trunk/mpulsweb/templates/privacy/dialogs/missing_caselink.mako (rev 0)
+++ base/trunk/mpulsweb/templates/privacy/dialogs/missing_caselink.mako 2012-08-03 11:33:30 UTC (rev 6014)
@@ -0,0 +1,30 @@
+## -*- coding: utf-8 -*-
+<%inherit file="../../main.mako" />
+<%def name="buildNavipath()">
+ ${parent.buildNavipath()}
+ <li><a href="${h.url(controller='case', action='index')}">${_('Case Management')}</a></li>
+ <li><a href="${h.url(controller='case_overview', action='index')}">${_('Case document overview')}</a></li>
+ <li><a href="#">${_('cm_np_show')}</a></li>
+</%def>
+<div class="dialog" />
+<h1><img src="${h.url('/images/icons/info/info.png')}" alt="" width="48" height="48" />${_('Missing data for the case link')}</h1>
+<p>${_('The case link of the youth to sync data to the meta server. You are resonsible for this.')}</p>
+% if h.hasRole(['cm']):
+ <ol>
+ <li>
+ ${h.literal(_('<strong>Link now</strong>, try to link the case.'))}
+ </li>
+ <li>
+ ${h.literal(_('<strong>Link later</strong>, do not link now but should be done later.'))}
+ </li>
+ </li>
+ </ol>
+ <p>
+ <a class="button" href="${h.url(controller='meta', action='index', id=c.ds_id, confirmed=0)}">${_('Link now')}</a>
+ <a class="button" href="${c.targeturl}">${_('Link later')}</a>
+ </p>
+% else:
+ <p>
+ <a class="button" href="${h.url(controller='case', action='select', id=c.ds_id, confirmed=1)}">${_('OK')}</a>
+ </p>
+% endif
More information about the Mpuls-commits
mailing list