Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / department / list.html
diff --git a/templates/webpages/department/list.html b/templates/webpages/department/list.html
deleted file mode 100644 (file)
index b932b52..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
-<h1>[% FORM.title %]</h1>
-
-[%- INCLUDE 'common/flash.html' %]
-
- <form method="post" action="controller.pl">
-  [% IF !DEPARTMENTS.size %]
-   <p>
-    [%- 'No department has been created yet.' | $T8 %]
-   </p>
-
-  [%- ELSE %]
-   <table id="department_list" width="100%">
-    <thead>
-    <tr class="listheading">
-     <th width="100%">[%- 'Description' | $T8 %]</th>
-    </tr>
-    </thead>
-
-    <tbody>
-    [%- FOREACH department = DEPARTMENTS %]
-    <tr class="listrow[% loop.count % 2 %]" id="department_id_[% department.id %]">
-     <td>
-      <a href="[% SELF.url_for(action => 'edit', id => department.id) %]">
-       [%- HTML.escape(department.description) %]
-      </a>
-     </td>
-    </tr>
-    [%- END %]
-    </tbody>
-   </table>
-  [%- END %]
-
-  <hr size="3" noshade>
-
-  <p>
-   <a href="[% SELF.url_for(action => 'new') %]">[%- 'Create new department' | $T8 %]</a>
-  </p>
- </form>