Revision 1467b6f2
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/requirement_spec_version/list.html | ||
---|---|---|
1 |
[% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE P %] |
|
2 | 5 |
|
3 | 6 |
<table id="versioned_copies_list"> |
4 | 7 |
<thead> |
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>
|
|
8 |
<tr> |
|
9 |
<th><div class="thingy" style="width: 10px; height: 100%; background-color: red; position: relative; left: -10px;"></div>[% LxERP.t8("Version number") %]</th> |
|
10 |
<th>[% LxERP.t8("Description") %]</th> |
|
11 |
<th>[% LxERP.t8("Internal comment") %]</th> |
|
12 |
<th>[% LxERP.t8("Last modification") %]</th> |
|
10 | 13 |
</tr> |
11 | 14 |
</thead> |
12 | 15 |
|
13 | 16 |
<tbody> |
14 | 17 |
<tr class="listrow versioned-copy-context-menu"> |
15 |
[%- IF SELF.requirement_spec.version %]
|
|
18 |
[% IF SELF.requirement_spec.version %] |
|
16 | 19 |
[% 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>
|
|
18 |
[%- ELSE %]
|
|
19 |
<td>[%- LxERP.t8("Working copy without version") %]</td>
|
|
20 |
[%- END -%]
|
|
21 |
<td>[%- LxERP.t8("Working copy; no description yet") %]</td>
|
|
20 |
<td>[% LxERP.t8("Working copy identical to version number #1", SELF.requirement_spec.version.version_number) %]</td> |
|
21 |
[% ELSE %] |
|
22 |
<td>[% LxERP.t8("Working copy without version") %]</td> |
|
23 |
[% END %]
|
|
24 |
<td>[% LxERP.t8("Working copy; no description yet") %]</td> |
|
22 | 25 |
<td> </td> |
23 | 26 |
<td>[% SELF.requirement_spec.mtime.to_kivitendo(precision='minute') %]</td> |
24 | 27 |
</tr> |
25 | 28 |
|
26 |
[%- FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
|
|
27 |
[%- SET version = versioned_copy.version %]
|
|
29 |
[% FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %] |
|
30 |
[% SET version = versioned_copy.version %] |
|
28 | 31 |
<tr class="listrow versioned-copy-context-menu"> |
29 | 32 |
[% L.hidden_tag('versioned_copy_id', versioned_copy.id, no_id=1) %] |
30 | 33 |
<td>[% HTML.escape(version.version_number) %]</td> |
... | ... | |
32 | 35 |
<td>[% HTML.escape(P.truncate(version.comment)) %]</td> |
33 | 36 |
<td>[% version.itime.to_kivitendo(precision='minute') %]</td> |
34 | 37 |
</tr> |
35 |
[%- END %]
|
|
38 |
[% END %] |
|
36 | 39 |
</tbody> |
37 | 40 |
</table> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/requirement_spec_*
Dateien requirement_spec_item/* requirement_spec_order/* requirement_spec_part/*
requirement_spec_text_block/* requirement_spec_version/*