1 [% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%]
3 <table id="versioned_copies_list">
5 <tr class="listheading">
6 <th><div class="thingy" style="width: 10px; height: 100%; background-color: red; position: relative; left: -10px;"></div>[%- LxERP.t8("Version number") %]</th>
7 <th>[%- LxERP.t8("Description") %]</th>
8 <th>[%- LxERP.t8("Internal comment") %]</th>
9 <th>[%- LxERP.t8("Last modification") %]</th>
14 <tr class="listrow versioned-copy-context-menu">
15 [%- IF SELF.requirement_spec.version %]
16 [% L.hidden_tag('versioned_copy_id', SELF.requirement_spec.version.requirement_spec_id, no_id=1) %]
17 <td>[%- LxERP.t8("Working copy identical to version number #1", SELF.requirement_spec.version.version_number) %]</td>
19 <td>[%- LxERP.t8("Working copy without version") %]</td>
21 <td>[%- LxERP.t8("Working copy; no description yet") %]</td>
23 <td>[% SELF.requirement_spec.mtime.to_kivitendo(precision='minute') %]</td>
26 [%- FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
27 [%- SET version = versioned_copy.version %]
28 <tr class="listrow versioned-copy-context-menu">
29 [% L.hidden_tag('versioned_copy_id', versioned_copy.id, no_id=1) %]
30 <td>[% HTML.escape(version.version_number) %]</td>
31 <td>[% HTML.escape(P.truncate(version.description)) %]</td>
32 <td>[% HTML.escape(P.truncate(version.comment)) %]</td>
33 <td>[% version.itime.to_kivitendo(precision='minute') %]</td>