Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bff01001

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID bff010014dccf28cdf6f7bf99e7a8d414b21fada
  • Vorgänger 5993903a
  • Nachfolger 843cfea5

Neues Design 2019 Standard-Code templates/webpages/requirement_spec_version/list.html

Unterschiede anzeigen:

templates/webpages/requirement_spec_version/list.html
5 5

  
6 6
<table id="versioned_copies_list">
7 7
 <thead>
8
  <tr class="listheading">
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>
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>
13 13
  </tr>
14 14
 </thead>
15 15

  
16 16
 <tbody>
17 17
  <tr class="listrow versioned-copy-context-menu">
18
   [%- IF SELF.requirement_spec.version %]
18
   [% IF SELF.requirement_spec.version %]
19 19
    [% L.hidden_tag('versioned_copy_id', SELF.requirement_spec.version.requirement_spec_id, no_id=1) %]
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>
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>
25 25
   <td>&nbsp;</td>
26 26
   <td>[% SELF.requirement_spec.mtime.to_kivitendo(precision='minute') %]</td>
27 27
  </tr>
28 28

  
29
  [%- FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
30
   [%- SET version = versioned_copy.version %]
29
  [% FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
30
   [% SET version = versioned_copy.version %]
31 31
   <tr class="listrow versioned-copy-context-menu">
32 32
    [% L.hidden_tag('versioned_copy_id', versioned_copy.id, no_id=1) %]
33 33
    <td>[% HTML.escape(version.version_number) %]</td>
......
35 35
    <td>[% HTML.escape(P.truncate(version.comment)) %]</td>
36 36
    <td>[% version.itime.to_kivitendo(precision='minute') %]</td>
37 37
   </tr>
38
  [%- END %]
38
  [% END %]
39 39
 </tbody>
40 40
</table>

Auch abrufbar als: Unified diff