[Mpuls-commits] r1409 - in wasko/branches/2.0/waskaweb/templates/administration: . dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 16:27:06 CET 2010


Author: torsten
Date: 2010-02-09 16:27:04 +0100 (Tue, 09 Feb 2010)
New Revision: 1409

Removed:
   wasko/branches/2.0/waskaweb/templates/administration/dialogs/success_edit_agency.mako
   wasko/branches/2.0/waskaweb/templates/administration/edit_settings.mako
   wasko/branches/2.0/waskaweb/templates/administration/show_settings.mako
Log:
* waskaweb/templates/administration/show_settings.mako,
  waskaweb/templates/administration/edit_settings.mako,
  waskaweb/templates/administration/dialogs/success_edit_agency.mako:
  Deleted.


Deleted: wasko/branches/2.0/waskaweb/templates/administration/dialogs/success_edit_agency.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/administration/dialogs/success_edit_agency.mako	2010-02-09 15:23:21 UTC (rev 1408)
+++ wasko/branches/2.0/waskaweb/templates/administration/dialogs/success_edit_agency.mako	2010-02-09 15:27:04 UTC (rev 1409)
@@ -1,10 +0,0 @@
-## -*- coding: utf-8 -*- 
-<%inherit file="../../main.mako" />
-<%def name="buildNavipath()">
-	${parent.buildNavipath()}
-        <li><a href="/administration">${_('adm_np_root')}</a></li>
-	<li><a href="/administration/showSettings">${_('adm_np_showsettings')}</a></li>
-        <li><a href="/administration/editSettings">${_('adm_np_editsettings')}</a></li>
-        <li><a href="#">${_('adm_np_editsettings_success')}</a></li>
-</%def>
-<%include file="../../dialogs/success.mako" />

Deleted: wasko/branches/2.0/waskaweb/templates/administration/edit_settings.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/administration/edit_settings.mako	2010-02-09 15:23:21 UTC (rev 1408)
+++ wasko/branches/2.0/waskaweb/templates/administration/edit_settings.mako	2010-02-09 15:27:04 UTC (rev 1409)
@@ -1,126 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="../main.mako" />
-<%
-  formular_labels = {'ka_name': _('adm_form_settings_kaname'),
-                     'fkz': _('adm_form_settings_fkz'),
-                     'max_speicherdauer': _('adm_form_settings_max_savetime')
-                    }
-%>
-<%def name="buildNavipath()">
-  ${parent.buildNavipath()}
-  <li>
-    <a href="/administration">${_('adm_np_root')}</a>
-  </li>
-  <li>
-    <a href="/administration/showSettings">${_('adm_np_showsettings')}</a>
-  </li>
-  <li>
-    <a href="/administration/editSettings">${_('adm_np_editsettings')}</a>
-  </li>
-</%def>
-
-<div id="content_header_small">
-  <div id="content_ueberschrift">
-    ${_('adm_header_editsettings')}
-  </div>
-  <div id="modusfield">
-    <div class="actions">
-      <ul>
-        <li>
-          <a href="${h.url_for(controller='administration',
-                               action='showSettings')}">
-            ${_('adm_actions_link_showsettings')}
-          </a>
-        </li>
-      </ul>
-    </div>
-  </div>
-</div>
-
-${self.buildFormErrors(formular_labels)}
-<div id="admin_edit_settings">
-  <p>${_('adm_con_es_editsettings')}</p>
-  <div class="waska_form">
-    <form action="/administration/editSettingsAction" method="POST">
-      <fieldset>
-        <legend>Angaben zur Einrichtung</legend>
-        <div class="waska_form_element w30">
-          <label for="ka_name">${_('adm_form_settings_kaname')}</label>
-          % if c.form_errors.get('ka_name'):
-            <input type="text" class="field error_box" id="ka_name"
-                   value="${c.form_result.get('ka_name', c.agency.getName())|h}"
-                   name="ka_name" maxlength="60">
-          % else:
-            <input type="text" class="field" id="ka_name" name="ka_name"
-                   value="${c.form_result.get('ka_name', c.agency.getName())|h}"
-                   maxlength="60">
-          % endif
-        </div>
-        <div class="waska_form_element w30">
-          <label for="fkz">${_('adm_form_settings_fkz')}</label>
-          % if c.form_errors.get('fkz'):
-            <input type="text" class="error_box" id="fkz" name="fkz"
-                   value="${c.form_result.get('fkz', c.agency.getFKZ())| h}"
-                   maxlength="60">
-          % else:
-            <input type="text" id="fkz" name="fkz"
-                   value="${c.form_result.get('fkz', c.agency.getFKZ())| h}"
-                   maxlength="60">
-          % endif
-        </div>
-      </fieldset>
-      <fieldset>
-        <legend>Angaben zu den Fallakten</legend>
-        <div class="waska_form_element w100">
-          <label for="max_speicherdauer">
-            ${_('adm_form_settings_max_savetime')}
-          </label>
-          % if c.form_errors.get('max_speicherdauer'):
-            <input type="text" class="error_box" id="max_speicherdauer"
-                   name="max_speicherdauer"
-                   value="${c.form_result.get('max_speicherdauer',
-                                              c.agency.getMaxSavetime()) | h}"
-                   maxlength="4">
-          % else:
-            <input type="text" id="max_speicherdauer" name="max_speicherdauer"
-                   value="${c.form_result.get('max_speicherdauer',
-                                              c.agency.getMaxSavetime())| h}"
-                   maxlength="4">
-          % endif
-          <p>
-            Die maximale Aufbewahrungsdauer legt fest, wie lange eine
-            Fallakte nach Abschluss des CM vorgehalten wird. Nach Ablauf
-            der Frist, wird die Fallakte automatisch zum Löschen
-            vorgeschlagen.
-          </p>
-        </div>
-        <div class="waska_form_element w100">
-          % if c.form_errors.get('anon_transfer'):
-            <a href="#error_list">
-              <img class="smallicon" src="/images/error_small.png">
-            </a>
-          % endif
-          % if c.agency.isAnonTransfer():
-            <input id="anon_transfer" name="anon_transfer" type="checkbox"
-                   checked />
-          % else:
-            <input id="anon_transfer" name="anon_transfer" type="checkbox"/>
-          % endif
-          <label for="anon_transfer">
-            ${_('adm_form_settings_anontransfer')}
-          </label>
-          <p>
-            Ist die Option aktiviert, werden anonymisierte Fallakten zu
-            Auswertungszwecken an eine zentrale Einrichtung
-            übermittelt. Anonymisierte Fallakten enthalten keine
-            persönlichen Daten wie Namen oder Adressen.
-          </p>
-        </div>
-      </fieldset>
-      <div id="admin_edit_settings_submit" class="waska_form_element w100">
-        <input type="submit" value="${_('adm_form_settings_save')}">
-      </div>
-    </form>
-  </div>
-</div>
-

Deleted: wasko/branches/2.0/waskaweb/templates/administration/show_settings.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/administration/show_settings.mako	2010-02-09 15:23:21 UTC (rev 1408)
+++ wasko/branches/2.0/waskaweb/templates/administration/show_settings.mako	2010-02-09 15:27:04 UTC (rev 1409)
@@ -1,58 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="../main.mako" />
-<%! import mpulsweb.lib.helper.filters as F %>
-<%def name="buildNavipath()">
-  ${parent.buildNavipath()}
-  <li>
-    <a href="/administration">${_('adm_np_root')}</a>
-  </li>
-  <li>
-    <a href="/administration/showSettings">${_('adm_np_showsettings')}</a>
-  </li>
-</%def>
-
-<div id="content_header_small">
-  <div id="content_ueberschrift">
-    ${_('adm_header_showsettings')}
-  </div>
-  <div id="modusfield">
-    <div class="actions">
-      <ul>
-	<li>
-          <a href="/administration/editSettings"> 
-            ${_('adm_actions_link_editsettings')}
-          </a>
-        </li>
-      </ul>
-    </div>
-  </div>
-</div>
-
-<p>${_('adm_con_ss_view_agency')}</p>
-<table>
-  <tr>
-    <td class="label table_header_v table_width_name">
-      ${_('adm_form_settings_kaname')}
-    </td>
-    <td class="table_row_v table_description">${c.agency.getName()| F.NA, h}
-    </td>
-  </tr>
-  <tr>
-    <td class="label">${_('adm_form_settings_fkz')}</td>
-    <td class="table_row_v_2">${c.agency.getFKZ()| F.NA, h}</td>
-  </tr>
-  <tr>
-    <td class="label table_header_v">${_('adm_form_settings_max_savetime')}</td>
-    <td class="table_row_v">${c.agency.getMaxSavetime()| F.NA, h}</td>
-  </tr>
-  <tr>
-    <td class="label table_header">${_('adm_form_settings_anontransfer')}</td>
-    <td class="table_row_v_2">
-      % if c.agency.isAnonTransfer():
-        ${_('adm_form_settings_anontransfer_yes')}
-      % else:
-        ${_('adm_form_settings_anontransfer_no')}
-      % endif
-    </td>
-  </tr>
-</table>



More information about the Mpuls-commits mailing list