[Mpuls-commits] r4621 - base/trunk/mpulsweb/templates/casebundle/dialogs
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 15 12:45:14 CET 2011
Author: torsten
Date: 2011-02-15 12:45:14 +0100 (Tue, 15 Feb 2011)
New Revision: 4621
Added:
base/trunk/mpulsweb/templates/casebundle/dialogs/download_formletter.mako
Log:
Added new template with downloadlinks for formletter on casebundles.
Added: base/trunk/mpulsweb/templates/casebundle/dialogs/download_formletter.mako
===================================================================
--- base/trunk/mpulsweb/templates/casebundle/dialogs/download_formletter.mako 2011-02-15 11:44:07 UTC (rev 4620)
+++ base/trunk/mpulsweb/templates/casebundle/dialogs/download_formletter.mako 2011-02-15 11:45:14 UTC (rev 4621)
@@ -0,0 +1,21 @@
+## -*- 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="#">${_('formletter')}</a></li>
+</%def>
+<div class="dialog">
+<h1><img src="${h.url_for('/images/icons/info/confirmation.png')}"
+ alt="${_('Success')}"
+ width="48"
+ height="48">${c.dialog_title or c.confirm_for}</h1>
+<form action="${h.url_for(controller='/case_bundle', action='formletterAction')}"
+ method="GET">
+<p>
+ ${c.dialog_text}
+</p>
+<input type="hidden" name="letterid" value="${c.letterid}">
+<input type="submit" value="${_('Download export')}">
+</form>
+</div>
More information about the Mpuls-commits
mailing list