Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / custom_data_export_designer / list.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2
3 <h1>[% FORM.title %]</h1>
4
5 [%- INCLUDE 'common/flash.html' %]
6
7 [% IF !SELF.queries.size %]
8  <p>
9   [%- LxERP.t8("No custom data exports have been created yet.") %]
10  </p>
11
12 [%- ELSE %]
13  <table width="100%">
14   <thead>
15    <tr class="listheading">
16     <th>[% LxERP.t8("Name") %]</th>
17     <th>[% LxERP.t8("Description") %]</th>
18    </tr>
19   </thead>
20
21   <tbody>
22    [%- FOREACH query = SELF.queries %]
23     <tr class="listrow">
24      <td>[% L.link(SELF.url_for(action="edit", id=query.id), query.name) %]</td>
25      <td>[% IF query.description %][% L.link(SELF.url_for(action="edit", id=query.id), query.description) %][% END %]</td>
26     </tr>
27    [%- END %]
28   </tbody>
29  </table>
30 [%- END %]