CsvImport: Bei Imports ohne cvars nicht die cvars klobbern.
[kivitendo-erp.git] / templates / webpages / requirement_spec / select_template_to_paste.html
index f73441b..3399d59 100644 (file)
  [%- END %]
 [%- END %]
 
-<h1>[%- LxERP.t8("Select template to paste") %]</h1>
-
 [%- IF !TEMPLATES.size %]
 <p>[%- LxERP.t8("No requirement spec templates have been created yet.") %]</p>
 
-<p><a href="#" onclick="$('#jqm_popup_dialog').jqmClose();">[%- LxERP.t8("Abort") %]</a></p>
-
 [%- ELSE %]
 
 <table>
@@ -26,6 +22,7 @@
   <th>[%- LxERP.t8("Detail view") %]</th>
   <th>[%- LxERP.t8("Paste template") %]</th>
   <th>[%- LxERP.t8("Title") %]</th>
+  <th>[%- LxERP.t8("Type") %]</th>
   <th>[%- LxERP.t8("Last modification") %]</th>
  </tr>
 
@@ -39,6 +36,7 @@
   </td>
   <td><a href="#" onclick="kivi.requirement_spec.paste_selected_template([% template.id %]);">[%- LxERP.t8("Paste template") %]</a></td>
   <td>[%- HTML.escape(template.title) %]</td>
+  <td>[%- HTML.escape(template.type.description) %]</td>
   <td>[% template.mtime ? template.mtime.to_kivitendo(precision='minute') : template.itime.to_kivitendo(precision='minute') %]</td>
  </tr>
 
@@ -68,5 +66,6 @@
 [%- END %]
 </table>
 
-<p><a href="#" onclick="$('#jqm_popup_dialog').jqmClose();">[%- LxERP.t8("Abort") %]</a></p>
 [%- END %]
+
+<p><a href="#" onclick="$('#jqueryui_popup_dialog').dialog('close');">[%- LxERP.t8("Abort") %]</a></p>