Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bff01001

Von Hans P. Schlaepfer vor mehr als 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
<table id="versioned_copies_list">
<thead>
<tr class="listheading">
<th><div class="thingy" style="width: 10px; height: 100%; background-color: red; position: relative; left: -10px;"></div>[%- LxERP.t8("Version number") %]</th>
<th>[%- LxERP.t8("Description") %]</th>
<th>[%- LxERP.t8("Internal comment") %]</th>
<th>[%- LxERP.t8("Last modification") %]</th>
<tr>
<th><div class="thingy" style="width: 10px; height: 100%; background-color: red; position: relative; left: -10px;"></div>[% LxERP.t8("Version number") %]</th>
<th>[% LxERP.t8("Description") %]</th>
<th>[% LxERP.t8("Internal comment") %]</th>
<th>[% LxERP.t8("Last modification") %]</th>
</tr>
</thead>
<tbody>
<tr class="listrow versioned-copy-context-menu">
[%- IF SELF.requirement_spec.version %]
[% IF SELF.requirement_spec.version %]
[% L.hidden_tag('versioned_copy_id', SELF.requirement_spec.version.requirement_spec_id, no_id=1) %]
<td>[%- LxERP.t8("Working copy identical to version number #1", SELF.requirement_spec.version.version_number) %]</td>
[%- ELSE %]
<td>[%- LxERP.t8("Working copy without version") %]</td>
[%- END -%]
<td>[%- LxERP.t8("Working copy; no description yet") %]</td>
<td>[% LxERP.t8("Working copy identical to version number #1", SELF.requirement_spec.version.version_number) %]</td>
[% ELSE %]
<td>[% LxERP.t8("Working copy without version") %]</td>
[% END %]
<td>[% LxERP.t8("Working copy; no description yet") %]</td>
<td>&nbsp;</td>
<td>[% SELF.requirement_spec.mtime.to_kivitendo(precision='minute') %]</td>
</tr>
[%- FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
[%- SET version = versioned_copy.version %]
[% FOREACH versioned_copy = SELF.requirement_spec.versioned_copies_sorted %]
[% SET version = versioned_copy.version %]
<tr class="listrow versioned-copy-context-menu">
[% L.hidden_tag('versioned_copy_id', versioned_copy.id, no_id=1) %]
<td>[% HTML.escape(version.version_number) %]</td>
......
<td>[% HTML.escape(P.truncate(version.comment)) %]</td>
<td>[% version.itime.to_kivitendo(precision='minute') %]</td>
</tr>
[%- END %]
[% END %]
</tbody>
</table>

Auch abrufbar als: Unified diff