Mobile: unbenutzte Template-Datei image_upload/form.html entfernt
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 30 Jun 2021 12:08:49 +0000 (14:08 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 30 Jun 2021 12:08:49 +0000 (14:08 +0200)
templates/mobile_webpages/image_upload/form.html [deleted file]

diff --git a/templates/mobile_webpages/image_upload/form.html b/templates/mobile_webpages/image_upload/form.html
deleted file mode 100644 (file)
index 428f6b9..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-[% USE HTML %]
-[% USE T8 %]
-[% USE P %]
-[% USE LxERP %]
-
-<h1>[% title | html %]</h1>
-
-<form action="controller.pl">
-
-[% IF !SELF.object.id %]
-
-  <p>[% 'Input delivery order number (picker NYI)' | $T8 %]</p>
-
-  [% P.M.input_tag("object_number", "", label=LxERP.t8("Number")) %]
-  [% P.M.submit_tag("submit", LxERP.t8("Update")) %]
-[% ELSE %]
-  <h2>[% SELF.object.displayable_name | html %]</h2>
-
-  [% P.hidden_tag("object_id", SELF.object.id) %]
-[% END %]
-
-[% P.hidden_tag("object_type", SELF.object_type) %]
-[% P.hidden_tag("action", "ImageUpload/upload_image") %]
-</form>
-
-[%# IF SELF.object.id %]
-  <div id="image_list_[% SELF.object_type | html %]"></div>
-  <script>
-    $(function() { $.get('controller.pl', { action: "File/list", "file_type": "image", "object_type": "[% SELF.object_type %]", "object_id": "[% SELF.object.id %]", "json": "1"}, kivi.eval_json_result) });
-  </script>
-[%# END %]