[Mpuls-commits] r969 - wasko/branches/2.0/waskaweb/templates/documents

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 10:02:42 CET 2010


Author: torsten
Date: 2010-01-28 10:02:40 +0100 (Thu, 28 Jan 2010)
New Revision: 969

Modified:
   wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako
Log:
* waskaweb/templates/documents/global_upload.mako: Formatting.Provive
"name" parameter for submit button, Changed h.file_field call to h.file.


Modified: wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako	2010-01-28 08:56:41 UTC (rev 968)
+++ wasko/branches/2.0/waskaweb/templates/documents/global_upload.mako	2010-01-28 09:02:40 UTC (rev 969)
@@ -1,32 +1,46 @@
 ## -*- coding: utf-8 -*-
 <%inherit file="../main.mako" />
 <%def name="buildNavipath()">
-		${parent.buildNavipath()}
-        <li><a href="/document/globalOverview">${_('doc_np_overview')}</a></li>
-	<li><a href="/document/globalUpload">${_('doc_np_upload')}</a></li>
+  ${parent.buildNavipath()}
+  <li><a href="/document/globalOverview">${_('doc_np_overview')}</a></li>
+  <li><a href="/document/globalUpload">${_('doc_np_upload')}</a></li>
 </%def>
+
 <div id="content_header_small">
   <div id="content_ueberschrift">
-${_('doc_header_new')}
+    ${_('doc_header_new')}
   </div>
   <div id="modusfield">
     <div class="actions">
-	<ul>
-		<li><a href="${h.url_for(controller='document', action='globalOverview')}"> ${_('menu_doc_link_overview_back')}</a></li>
-	</ul>
+      <ul>
+	<li>
+          <a href="${h.url_for(controller='document', action='globalOverview')}">
+            ${_('menu_doc_link_overview_back')}
+          </a>
+        </li>
+      </ul>
     </div>
   </div>
 </div>
+
 <div id="document">
- <div id="waska_form" class="import_box">
-  <p class="import_p">Die Größe eines Dokuments 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='globalUploadAction'), multipart=True)}
-    <label class="import_label" for="file"><strong class="import_number">1. </strong>${_('doc_form_upload_label_file')}</label>
-    ${h.file_field('file')}<br>
-    <label class="import_label" for=""><strong class="import_number">2.</strong> Dokument hinzufügen:</label>
-    ${h.submit(_('doc_form_upload_submit'))}
-    ${h.end_form()}
-   </div>
- </div>
+  <div id="waska_form" class="import_box">
+    <p class="import_p">
+      Die Größe eines Dokuments 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='globalUploadAction'), 
+        multipart=True)}
+      <label class="import_label" for="file">
+        <strong class="import_number">1. </strong>${_('doc_form_upload_label_file')}
+      </label>
+      ${h.file('file')}<br>
+      <label class="import_label" for="">
+        <strong class="import_number">2.</strong> Dokument hinzufügen:
+      </label>
+      ${h.submit('upload', _('doc_form_upload_submit'))}
+      ${h.end_form()}
+    </div>
+  </div>
 </div>



More information about the Mpuls-commits mailing list