[Mpuls-commits] r6058 - in wasko/trunk/waskoweb/templates: casemanagement privacy

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 28 17:36:10 CEST 2012


Author: torsten
Date: 2012-08-28 17:36:09 +0200 (Tue, 28 Aug 2012)
New Revision: 6058

Modified:
   wasko/trunk/waskoweb/templates/casemanagement/new.mako
   wasko/trunk/waskoweb/templates/privacy/list_statements.mako
Log:
New templates for creating and listing EE statements. Now including basic EE
blocks from the base application.


Modified: wasko/trunk/waskoweb/templates/casemanagement/new.mako
===================================================================
--- wasko/trunk/waskoweb/templates/casemanagement/new.mako	2012-08-28 15:16:14 UTC (rev 6057)
+++ wasko/trunk/waskoweb/templates/casemanagement/new.mako	2012-08-28 15:36:09 UTC (rev 6058)
@@ -77,63 +77,7 @@
         </tr>
     </table>
     </fieldset>
-    <fieldset>
-    <legend>${_('Type of admission')}</legend>
-      <input type="radio" name="aufnahme_typ" value="0" id="type_aufnahme_1" checked="checked">
-      <label for="type_aufnahme_1">${_('Initial admission')}</label><br>
-      <input type="radio" name="aufnahme_typ" value="1" id="type_aufnahme_2">
-      <label for="type_aufnahme_2">${_('Reopening after successful reintegration')}</label>
-      <a target="_blank" href="${h.url(controller='annotations', action='help', id='wiederaufnahme')}">
-        <img alt="${_('help icon')}" src="${h.url('/images/icons/form_help.png')}" border="0">
-      </a><br>
-      <input type="radio" name="aufnahme_typ" value="2" id="type_aufnahme_3">
-      <label for="type_aufnahme_3">${_('New admission after other termination')}</label> 
-      <a target="_blank" href="${h.url(controller='annotations', action='help', id='neuaufnahme')}">
-        <img alt="${_('help icon')}" src="${h.url('/images/icons/form_help.png')}" border="0">
-      </a>
-    </fieldset>
-    <div style="padding: 1em 0;">
-      <p>${_('Please notice, that the acceptence statement is the base for entering personal data. Click on Print Statement. Use the Back button to get back to this page.')}</p>
-    </div>
-    <div class="waska_form_element w100">
-      ${_('PDF version statements for manual completion')}:
-      <table>
-        <tr>
-          <td class="table_row_h">
-            Arabisch <a href="${h.url('/documents/ee_ar.pdf')}">download</a>
-          </td>
-          <td class="table_row_h">
-            Englisch <a href="${h.url('/documents/ee_en.pdf')}">download</a>
-          </td>
-        </tr>
-        <tr>
-          <td>Polnisch <a href="${h.url('/documents/ee_pl.pdf')}">download</a></td>
-          <td>Russisch <a href="${h.url('/documents/ee_ru.pdf')}">download</a></td>
-        </tr>
-        <tr>
-          <td class="table_row_h">
-            Türkisch <a href="${h.url('/documents/ee_tr.pdf')}">download</a>
-          </td>
-          <td class="table_row_h">
-            Deutsch
-            (Einwilligungserklärung ohne Hinweise zu Teilnehmernachweisen)
-            <a href="${h.url('/documents/ee_de_ohnetn.pdf')}">download</a>
-          </td>
-        </tr>
-      </table>
-    </div>
-
-    <div class="waska_form_element w100">
-      <input type="checkbox" id="statement_signed" name="statement_signed"><label for="statement_signed">${_('The acceptence statement for entering, using and editing personal data has been obtained while initial meeting.')}</label>
-    </div>
-    % if g.mpuls_config.is_enabled('case-module', 'meta-server'):
-    <div style="padding: 1em 0;">
-	<p>${_('Please notice, that the sync acceptence statement is the base for using the AiR case.')} <a href="${h.url(controller='meta', action='print_empty_statement')}">${_('Print statement')}</a></p>
-    </div>
-    <div class="waska_form_element w100">
-    	<input type="checkbox" id="sync_permission" name="sync_permission"><label for="sync_permisson">${_('The sync acceptence statement for using the AiR case has been obtained while the initial meeting.')}</label>
-    </div>
-    % endif
+    <%include file="new_statement_block.mako" />
     <div class="input_space">
       <input type="submit" value="${_('Print statement')}" name="print">
       <input type="submit" value="${_('Create case document')}" name="save">

Modified: wasko/trunk/waskoweb/templates/privacy/list_statements.mako
===================================================================
--- wasko/trunk/waskoweb/templates/privacy/list_statements.mako	2012-08-28 15:16:14 UTC (rev 6057)
+++ wasko/trunk/waskoweb/templates/privacy/list_statements.mako	2012-08-28 15:36:09 UTC (rev 6058)
@@ -8,66 +8,7 @@
 </%def>
 <h1>${_('Avaliable statements')}</h1>
 <h2>Allgemein</h2>
-<div class="widget container">
-
-<h3>${_('Written consent for the collection, handling and utilization of personal data')}</h3>
-<p>
-${_('The written consent sets up the base for the collection, handling and utilization of personal data. The written consent contains the safekeeping period that is adjustable for each institution. Finished case files are automatically suggested to be anonymized after the elapsed time period.')}
-</p>
-<p> ${_('German')}:
-  <a href="${h.url(controller='privacy', action='printStatement', id=session.get('case').id)}" target="_blank">
-    ${_('Print acceptence statement')}
-  </a>
-</p>
-
-${_('PDF version statements for manual completion')}:
-<table>
-<tr>
-    <td class="table_row_h">
-    ${_('Arabic')} <a href="${h.url('/documents/ee_ar.pdf')}">${_('download')}</a>
-    </td>
-    <td class="table_row_h">
-    ${_('English')} <a href="${h.url('/documents/ee_en.pdf')}">${_('download')}</a>
-    </td>
-</tr>
-<tr>
-    <td>${_('Polish')} <a href="${h.url('/documents/ee_pl.pdf')}">${_('download')}</a></td>
-    <td>${_('Russian')} <a href="${h.url('/documents/ee_ru.pdf')}">${_('download')}</a></td>
-</tr>
-<tr>
-    <td class="table_row_h">
-    ${_('Turkish')} <a href="${h.url('/documents/ee_tr.pdf')}">${_('download')}</a>
-    </td>
-    <td class="table_row_h">
-    ${_('German')}
-    (${_('Written consent without details about participants')})
-    <a href="${h.url('/documents/ee_de_ohnetn.pdf')}">${_('download')}</a>
-    </td>
-</tr>
-</table>
-</div>
-% if g.mpuls_config.is_enabled('case-module', 'meta-server'):
-<h2>AiR</h2>
-<div class="widget container">
-<h3>Einwilligungserklärung für die Übermittlung und Austausch von Daten mit dem AiR-Server</h3>
-<p>Die Einwilligung des jungen Menschen zur Übertragung der Daten zwischen dem
-lokalen Fall und der AiR-Akte ist die grundlegende Voraussetzung! Dies
-erfordert eine schriftliche Einwilligungserklärung und
-Schweigepflichtsentbindung des jungen Menschen. Bitte beachten Sie, dem jungen
-Menschen eine Übersicht der bereits über ihn gespeicherten Daten zu übergeben,
-sobald Sie die Verknüpfung mit der AiR-Akte durchgeführt haben.</p>
-<p><a href="${h.url(controller='meta', action='print_statement1', id=session.get('case').id)}" target="_blank">${_('Print acceptence statement')}</a></p>
-<br>
-<h3>Schweigepflichtsentbindung für die Übermittlung und Austausch von Daten mit dem AiR-Server</h3>
-<h2>Vereinbarung Förderplan</h2>
-Möglicherweise unterliegen die Daten, die auf Grundlage der
-Einwilligungserklärung für die Übermittlung und Austausch von Daten mit dem
-AiR-Server mit anderen Stellen einer besonderen Verschwiegenheitsverpflichtung
-(z.B. Arztgeheimnis). Der junge Mensch kann mit dieser Erklärung ausdrücklich
-bestätigen, dass diese Daten übertragen werden dürfen.</p>
-<p><a href="${h.url(controller='meta', action='print_statement2', id=session.get('case').id)}" target="_blank">Schweigepflichtsentbindung drucken</a></p>
-</div>
-% endif
+<%include file="list_statements_base_body.mako"/>
 <h2>Weitere</h2>
 <div class="widget container">
 <h3>Schweigepflichtsentbindung von Dritten gegenüber der Einrichtung</h3>



More information about the Mpuls-commits mailing list