]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/project/form.html
date error in mapping
[mfinanz.git] / templates / webpages / project / form.html
index 67df852e4ef8cbe7fe373356bcb4c2912fb5acb1..9313665b41fb2b50082baeac42bbe1cb879d3e21 100644 (file)
@@ -3,7 +3,7 @@
 [%- USE P %]
 [%- USE HTML %]
 [%- USE LxERP %]
-<h1>[% title %]</h1>
+<h1>[% title | html %]</h1>
 
 [%- INCLUDE 'common/flash.html' %]
 
     [%- IF SELF.may_edit_invoice_permissions %]
      <li><a href="#invoice_permissions">[% 'Permissions for invoices' | $T8 %]</a></li>
     [%- END %]
+    [%- IF SELF.project.id %]
+      [%- IF INSTANCE_CONF.get_doc_storage %]
+        <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=project&object_id=[% SELF.project.id %]">[% 'Attachments' | $T8 %]</a></li>
+      [%- END %]
+    [%- END %]
     [%- IF SELF.project.id and AUTH.assert('record_links', 1) %]
     <li><a href="#linked_records">[% 'Linked Records' | $T8 %]</a></li>
     [%- END %]