[Mpuls-commits] r968 - wasko/branches/2.0/waskaweb/templates/documents
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jan 28 09:56:42 CET 2010
Author: torsten
Date: 2010-01-28 09:56:41 +0100 (Thu, 28 Jan 2010)
New Revision: 968
Modified:
wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
Log:
* waskaweb/templates/documents/case_new.mako: Formatting
Modified: wasko/branches/2.0/waskaweb/templates/documents/case_new.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/documents/case_new.mako 2010-01-28 08:48:51 UTC (rev 967)
+++ wasko/branches/2.0/waskaweb/templates/documents/case_new.mako 2010-01-28 08:56:41 UTC (rev 968)
@@ -1,36 +1,62 @@
## -*- coding: utf-8 -*-
<%inherit file="../casemanagement/main.mako" />
<%def name="buildNavipath()">
- ${parent.buildNavipath()}
- <li><a href="/case/select/${session.get('case').id}/1">${_('cm_np_select')}</a></li>
- <li><a href="/case/documents/${session.get('case').id}">${_('cm_np_doc_overview')}</a></li>
- <li><a href="/case/newDocument">${_('cm_np_doc_upload')}</a></li>
+ ${parent.buildNavipath()}
+ <li>
+ <a href="/case/select/${session.get('case').id}/1">
+ ${_('cm_np_select')}
+ </a>
+ </li>
+ <li>
+ <a href="/case/documents/${session.get('case').id}">
+ ${_('cm_np_doc_overview')}
+ </a>
+ </li>
+ <li>
+ <a href="/case/newDocument">
+ ${_('cm_np_doc_upload')}
+ </a>
+ </li>
</%def>
+
<div id="content_header_small">
<div id="content_ueberschrift">
${_('cm_header_doc_new')}
- </div>
+</div>
+
% if h.hasRole(['cm_ka']):
<div id="modusfield">
<div class="actions">
- <ul>
- <li><a href="/case/documents/${session.get('case').id}"> ${_('cm_menu_link_document_back')}</a></li>
- </ul>
+ <ul>
+ <li>
+ <a href="/case/documents/${session.get('case').id}">
+ ${_('cm_menu_link_document_back')}
+ </a>
+ </li>
+ </ul>
</div>
</div>
-</div>
% endif
+
<div id="document">
- <div id="waska_form" class="import_box">
- <p class="import_p">Die Größe einer Anlage darf nicht 10MB überschreiten. Bereits bestehende Dateien mit gleichem Namen werden überschrieben!</p>
- <div class="import_box_dialog">
- ${h.form(h.url_for(controller="document", action='caseUploadAction'), multipart=True)}
- <label class="import_label" for="file"><strong class="import_number">1. </strong>${_('att_form_upload_label_add')}</label>
- ${h.file('file')}<br>
- <label class="import_label" for=""><strong class="import_number">2. </strong>${_('att_form_upload_label_up')}</label>
- ${h.submit("upload", _('doc_form_upload_submit'))}
- ${h.hidden('case', value=session.get('case').id)}
- ${h.end_form()}
+ <div id="waska_form" class="import_box">
+ <p class="import_p">
+ Die Größe einer Anlage darf nicht 10MB überschreiten. Bereits bestehende
+ Dateien mit gleichem Namen werden überschrieben!
+ </p>
+ <div class="import_box_dialog">
+ ${h.form(h.url_for(controller="document", action='caseUploadAction'),
+ multipart=True)}
+ <label class="import_label" for="file">
+ <strong class="import_number"> 1. </strong>${_('att_form_upload_label_add')}
+ </label>
+ ${h.file('file')}<br>
+ <label class="import_label" for="">
+ <strong class="import_number">2. </strong>${_('att_form_upload_label_up')}
+ </label>
+ ${h.submit("upload", _('doc_form_upload_submit'))}
+ ${h.hidden('case', value=session.get('case').id)}
+ ${h.end_form()}
+ </div>
</div>
- </div>
</div>
More information about the Mpuls-commits
mailing list