[Mpuls-commits] r871 - wasko/branches/2.0/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 26 12:17:54 CET 2010


Author: torsten
Date: 2010-01-26 12:17:53 +0100 (Tue, 26 Jan 2010)
New Revision: 871

Removed:
   wasko/branches/2.0/waskaweb/templates/casemanagement/formular.mako
Log:
* waskaweb/templates/casemanagement/formular.mako: Deleted. Not rendered anywhere



Deleted: wasko/branches/2.0/waskaweb/templates/casemanagement/formular.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/formular.mako	2010-01-26 11:07:03 UTC (rev 870)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/formular.mako	2010-01-26 11:17:53 UTC (rev 871)
@@ -1,76 +0,0 @@
-## -*- coding: utf-8 -*-
-<%inherit file="main.mako" />
-<!--
-% if session.get('case').getMode()  == "edit":
-<h1>${_('cm_header_form_edit')}</h1>
-% else:
-<h1>${_('cm_header_form_show')}</h1>
-% endif
--->
-  ${self.buildFormErrors()}
-
-<!--
-<div class="actions">
-  <ul>
-  % if h.hasRole(['cm_ka']):
-    % if session.get('case').getMode() == "edit":
-      <li><a href="/case/show/${c.ds_id}/${c.page_id}">${_('cm_actions_link_show')}</a></li>
-    % else:
-      <li><a href="/case/edit/${c.ds_id}/${c.page_id}">${_('cm_actions_link_edit')}</a></li>
-    % endif
-  % endif
-  <li><a href="/case/printout/${c.ds_id}/${c.page_id}/show" target="_blank">${_('cm_actions_link_printout')}</a></li>
-  </ul>
-</div>
--->
-<div class="waska_form">
-<!-- Begin Form-->
-${c.formular}
-<!-- End Form -->
-</div>
-<div class="clearer" ></div>
-<%def name="buildNavipath()">
-      	${parent.buildNavipath()}
-	<li><a href="/case/select/${session.get('case').id}/1" onclick="return checkModification();">${_('cm_np_select')}</a></li>
-	<li><a href="/case/${session.get('case').getMode()}/${c.ds_id}/${c.page_id}" onclick="return checkModification();">${h.getFormularName(c.page_id)}</a></li>
-</%def>
-
-<%def name="buildFormErrors()">
-    ${h.getErrorsAndWarningsOnPage(c.page_id, c.warnings)}
-</%def>
-
-<%def name="buildContentHeader()">
-  <div id="content_header">
-    ${self.buildUeberschrift()}
-    ${self.buildModusfield()}
-  </div><br>
-</%def>
-
-<%def name="buildUeberschrift()">
-${h.getFormularHeaders(c.page_id)}
-</%def>
-
-<%def name="buildModusfield()">
-  <div id="modusfield">
-    <div id="modusinfo">
-    % if session.get('case').getMode() == "show":
-      <h5>Ansichtsmodus</h5>
-    % else:
-      <h5>Bearbeitungsmodus</h5>
-    % endif
-    </div>
-    <div class="actions">
-      <ul>
-        % if h.hasRole(['cm_ka']):
-          % if session.get('case').getMode() == "edit":
-            <li><a href="/case/show/${c.ds_id}/${c.page_id}" onclick="return checkModification();"> ${_('cm_actions_link_show')}</a></li>
-          % else:
-            <li><a href="/case/edit/${c.ds_id}/${c.page_id}" onclick="return checkModification();"> ${_('cm_actions_link_edit')}</a></li>
-          % endif
-        % endif
-        <li><a href="${h.getPrintUrl(c.print_form, c.ds_id, c.page_id)}" target="_blank" onclick="return checkModification();"> ${_('cm_actions_link_printout')}</a></li>
-      </ul>
-    </div>
-  </div>
-</%def>
-



More information about the Mpuls-commits mailing list