[Mpuls-commits] r2176 - in wasko/branches/2.0: jmdweb/templates/casemanagement mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 25 12:57:03 CET 2010


Author: torsten
Date: 2010-03-25 12:57:03 +0100 (Thu, 25 Mar 2010)
New Revision: 2176

Added:
   wasko/branches/2.0/mpulsweb/templates/casemanagement/digest.mako
   wasko/branches/2.0/mpulsweb/templates/casemanagement/digest_body.mako
Removed:
   wasko/branches/2.0/jmdweb/templates/casemanagement/digest.mako
   wasko/branches/2.0/jmdweb/templates/casemanagement/digest_body.mako
Log:
Moved templates for digest into mpulsbase


Deleted: wasko/branches/2.0/jmdweb/templates/casemanagement/digest.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/casemanagement/digest.mako	2010-03-25 11:55:39 UTC (rev 2175)
+++ wasko/branches/2.0/jmdweb/templates/casemanagement/digest.mako	2010-03-25 11:57:03 UTC (rev 2176)
@@ -1,9 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="main.mako" />
-<%!  import mpulsweb.lib.helper.filters as F %>
-<%def name="buildNavipath()">
-  ${parent.buildNavipath()}
-  <li><a href="/case/select/${session.get('case').id}/1">${_('cm_np_select')}</a></li>
-  <li><a href="/case/digest/${session.get('case').id}">${_('cm_np_digest')}</a></li>
-</%def>
-<%include file="digest_body.mako"/>

Deleted: wasko/branches/2.0/jmdweb/templates/casemanagement/digest_body.mako
===================================================================
--- wasko/branches/2.0/jmdweb/templates/casemanagement/digest_body.mako	2010-03-25 11:55:39 UTC (rev 2175)
+++ wasko/branches/2.0/jmdweb/templates/casemanagement/digest_body.mako	2010-03-25 11:57:03 UTC (rev 2176)
@@ -1,78 +0,0 @@
-## -*- coding: utf-8 -*-
-<%!
-import mpulsweb.lib.helper.filters as F
-%>
-
-<div id="content_header_small">
-  <div id="content_ueberschrift">
-    ${_('cm_header_digest')}
-  </div>
-  ${self.buildModusfield()}
-</div>
-% if not c.print_version:
-  % if c.daysToMaxSavetime < 0:
-    <div class="dialog">
-      % if c.finished:
-        <h1>
-          <img src="/images/alert.png" alt="achtung"/>
-          Maximale Speicherdauer überschritten!
-        </h1>
-        <p>
-          Nach Beendigung des Case-Managements ist eine weitere
-          Aufbewahrung der personenbezogenen Daten der Fallakte nur bis
-          zur maximalen Speicherdauer zulässig. Die maximale
-          Speicherdauer (${c.maxsavetime} Tage) wurde seit
-          ${abs(c.daysToMaxSavetime)} Tagen überschritten!
-          <strong>Es wird empfohlen, die Fallakte zu anonymisieren!</strong>
-        </p>
-      % else:
-        <h1>
-          <img src="/images/question.png" alt="achtung"/>Inaktiver Fall?
-        </h1>
-        <p>
-          Für die Fallakte konnte seit
-          ${abs(c.daysToMaxSavetime)+int(c.maxsavetime)} Tagen keine
-          Aktivität festgestellt werden. Bitte prüfen Sie, ob der Fall
-          noch aktiv bearbeitet wird.
-        </p>
-      % endif
-    </div>
-  % else:
-    <p><strong>Letzte Bearbeitung: ${h.format_datetime(c.last_access)}</strong>
-      % if c.daysToMaxSavetime <= 14:
-        % if c.finished or c.canceled:
-          (Tage bis zum Überschreiten der maximalen Speicherdauer:
-           ${c.daysToMaxSavetime})
-        % else:
-          (Tage bis zur nächsten automatischen Wiedervorlage der Fallakte:
-           ${c.daysToMaxSavetime})
-        % endif
-      % endif
-    </p>
-  % endif
-% endif
-
-<h2>${_('cm_header_digest_youth')}</h2>
-<table>
-  % for num, field in enumerate(c.case.get_digest_fields()):
-    <tr class="${num % 2 and 'hl' or ''}">
-      <td class="label">${c.case.get_description(field.name)}</td>
-      <td>${c.case.get_value(field.name)| F.NA}</td>
-    </tr>
-  % endfor
-</table>
-
-<%def name="buildModusfield()">
-  <div id="modusfield">
-    <div class="actions">
-      <ul>
-        <li>
-          <a href="/case/printdigest/${session['case'].id}" target="_blank" 
-             onclick="return checkModification();"> 
-            ${_('cm_actions_link_printout')}
-          </a>
-        </li>
-      </ul>
-    </div>
-  </div>
-</%def>

Copied: wasko/branches/2.0/mpulsweb/templates/casemanagement/digest.mako (from rev 2171, wasko/branches/2.0/jmdweb/templates/casemanagement/digest.mako)


Property changes on: wasko/branches/2.0/mpulsweb/templates/casemanagement/digest.mako
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: wasko/branches/2.0/mpulsweb/templates/casemanagement/digest_body.mako (from rev 2171, wasko/branches/2.0/jmdweb/templates/casemanagement/digest_body.mako)


Property changes on: wasko/branches/2.0/mpulsweb/templates/casemanagement/digest_body.mako
___________________________________________________________________
Name: svn:mergeinfo
   + 



More information about the Mpuls-commits mailing list