]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/part/form.html
Testfall Kosmetik (Alignment)
[mfinanz.git] / templates / webpages / part / form.html
index 03433f33a615d8e4be69d071d83cdc7bb046f032..0d7ab083891b63f3d61ba130f06ec62257558812 100644 (file)
     [%- IF SELF.part.is_assembly %]
     <li><a href="#assembly_tab">[% 'Assembly items' | $T8 %]</a></li>
     [%- END %]
+    [%- IF SELF.part.id %]
+    [%- IF INSTANCE_CONF.get_doc_storage %]
+    <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=part&object_id=[% SELF.part.id %]">[% 'Attachments' | $T8 %]</a></li>
+    <li><a href="controller.pl?action=File/list&file_type=image&object_type=part&object_id=[% SELF.part.id %]">[% 'Images' | $T8 %]</a></li>
+    [%- END %]
+    [%- END %]
     [% IF SELF.all_languages.size %]
     <li><a href="#translations_tab">[% 'Translations' | $T8 %]</a></li>
     [% END %]
@@ -78,8 +84,6 @@
 </div>
 
   <p>
-  [% L.hidden_tag('action', 'Part/dispatch') %]
-
   [% IF show_edit_buttons %]
     [% L.button_tag('kivi.Part.save()', LxERP.t8('Save')) %]
     [% IF SELF.part.id %]