[Mpuls-commits] r3801 - base/trunk/mpulsweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 28 10:07:02 CEST 2010
Author: torsten
Date: 2010-09-28 10:07:01 +0200 (Tue, 28 Sep 2010)
New Revision: 3801
Modified:
base/trunk/mpulsweb/templates/casemanagement/digest.mako
Log:
* mpulsweb/templates/casemanagement/digest.mako: Use new function phase_time_in_weeks.
Modified: base/trunk/mpulsweb/templates/casemanagement/digest.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/digest.mako 2010-09-28 08:06:14 UTC (rev 3800)
+++ base/trunk/mpulsweb/templates/casemanagement/digest.mako 2010-09-28 08:07:01 UTC (rev 3801)
@@ -1,6 +1,7 @@
## -*- coding: utf-8 -*-
<%inherit file="main.mako" />
<%! import mpulsweb.lib.helper.filters as F %>
+<%! import mpulsweb.lib.helper.case as C %>
<%def name="buildNavipath()">
${parent.buildNavipath()}
@@ -143,7 +144,7 @@
<span class="info">
${_('Start date')}: ${h.format_date(phase.getStart().date) | F.NA}<br>
${_('End date')}: ${h.format_date(phase.getEnd().date) | F.NA}<br>
- ${_('Duration in weeks')}: ${h.timedelta_in_weeks(phase.getDuration()) | F.NA}
+ ${_('Duration in weeks')}: ${C.phase_time_in_weeks(phase.getDuration()) | F.NA}
</span>
</li>
% endif
More information about the Mpuls-commits
mailing list