[Mpuls-commits] r3314 - base/trunk/mpulsweb/templates/phase/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 3 11:18:54 CEST 2010


Author: torsten
Date: 2010-08-03 11:18:54 +0200 (Tue, 03 Aug 2010)
New Revision: 3314

Added:
   base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako
   base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako
Log:
New dialog templates for automatic and halfautomatic phase-setting.


Added: base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako	2010-08-03 09:16:52 UTC (rev 3313)
+++ base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako	2010-08-03 09:18:54 UTC (rev 3314)
@@ -0,0 +1,8 @@
+## -*- coding: utf-8 -*- 
+<%inherit file="/main.mako" />
+<%def name="buildNavipath()">
+	${parent.buildNavipath()}
+        <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
+        <li><a href="#">${_('case_cm_phase')}</a></li>
+</%def>
+<%include file="../../dialogs/success.mako" />

Added: base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako	2010-08-03 09:16:52 UTC (rev 3313)
+++ base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako	2010-08-03 09:18:54 UTC (rev 3314)
@@ -0,0 +1,15 @@
+## -*- coding: utf-8 -*-
+<%!  import mpulsweb.lib.helper.filters as F %>
+<%inherit file="/casemanagement/main.mako" />
+<%def name="buildNavipath()">
+  ${parent.buildNavipath()}
+  <li><a href="${h.url_for(controller='/case', action='select', id=session.get('case').id)}">${_('cm_np_select')}</a></li>
+  <li><a href="#">${_('case_cm_phase')}</a></li>
+</%def>
+<div class="dialog" />
+  <h1><img src="${h.url_for('/images/icons/info/confirmation.png')}" alt="Erledigt"/>${c.dialog_title | F.NA}</h1>
+  <p>${c.dialog_text | F.NA}</p>
+  <a class="button import" href="${c.url_ok}">Ja</a>
+  <a class="button import" href="${c.url_no}">Nein</a>
+  </div>
+</div>



More information about the Mpuls-commits mailing list