Revision a85900cb
Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt
templates/webpages/requirement_spec/select_template_to_paste.html | ||
---|---|---|
18 | 18 |
[%- ELSE %] |
19 | 19 |
|
20 | 20 |
<table> |
21 |
<tr class="listheading"> |
|
21 |
<thead> |
|
22 |
<tr> |
|
22 | 23 |
<th>[%- LxERP.t8("Detail view") %]</th> |
23 | 24 |
<th>[%- LxERP.t8("Paste template") %]</th> |
24 | 25 |
<th>[%- LxERP.t8("Title") %]</th> |
25 | 26 |
<th>[%- LxERP.t8("Type") %]</th> |
26 | 27 |
<th>[%- LxERP.t8("Last modification") %]</th> |
27 | 28 |
</tr> |
28 |
|
|
29 |
</thead> |
|
30 |
<tbody> |
|
29 | 31 |
[%- FOREACH template = TEMPLATES %] |
30 | 32 |
<tr class="listrow[% loop.count % 2 %]"> |
31 | 33 |
<td> |
32 |
<a href="#" onclick="$('#select-template-details-row-[% template.id %]').toggle(); $(this).find('span').toggle();">
|
|
34 |
<a href="#" onclick='$("#select-template-details-row-[% template.id %]").toggle(); $(this).find("span").toggle();'>
|
|
33 | 35 |
<span>[+]</span> |
34 | 36 |
<span style="display: none;">[-]</span> |
35 | 37 |
</a> |
36 | 38 |
</td> |
37 |
<td><a href="#" onclick="kivi.requirement_spec.paste_selected_template([% template.id %]);">[%- LxERP.t8("Paste template") %]</a></td>
|
|
39 |
<td><a href="#" onclick='kivi.requirement_spec.paste_selected_template([% template.id %]);'>[%- LxERP.t8("Paste template") %]</a></td>
|
|
38 | 40 |
<td>[%- HTML.escape(template.title) %]</td> |
39 | 41 |
<td>[%- HTML.escape(template.type.description) %]</td> |
40 | 42 |
<td>[% template.mtime ? template.mtime.to_kivitendo(precision='minute') : template.itime.to_kivitendo(precision='minute') %]</td> |
41 | 43 |
</tr> |
42 | 44 |
|
43 |
<tr class="listrow[% loop.count % 2 %]" style="display: none;" id="select-template-details-row-[% template.id %]">
|
|
45 |
<tr style="display: none;" id="select-template-details-row-[% template.id %]"> |
|
44 | 46 |
[% SET front = template.text_blocks_sorted(output_position=0) %] |
45 | 47 |
[% SET sections = template.sections_sorted %] |
46 | 48 |
[% SET back = template.text_blocks_sorted(output_position=1) %] |
... | ... | |
75 | 77 |
</td> |
76 | 78 |
</tr> |
77 | 79 |
[%- END %] |
80 |
</tbody> |
|
78 | 81 |
</table> |
79 | 82 |
|
80 | 83 |
[%- END %] |
81 | 84 |
|
82 |
<p><a href="#" onclick="$('#jqueryui_popup_dialog').dialog('close');">[%- LxERP.t8("Abort") %]</a></p> |
|
85 |
<p><a href="#" onclick='$("#jqueryui_popup_dialog").dialog("close");'>[%- LxERP.t8("Abort") %]</a></p> |
Auch abrufbar als: Unified diff
Preview design 4.0