Revision 15e2ae4e
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/requirement_spec_item/_section_header.html | ||
---|---|---|
1 | 1 |
[%- USE HTML -%][%- USE L -%][%- USE LxERP -%] |
2 |
<h1>
|
|
3 |
[%- HTML.escape(requirement_spec_item.fb_number) %]:
|
|
2 |
<h3>
|
|
3 |
<span class="label">[%- HTML.escape(requirement_spec_item.fb_number) %]:</span>
|
|
4 | 4 |
[% IF requirement_spec_item.title %] |
5 | 5 |
[% HTML.escape(requirement_spec_item.title) %] |
6 | 6 |
[% ELSE %] |
... | ... | |
8 | 8 |
[%- LxERP.t8("No text has been entered yet.") %] |
9 | 9 |
</div> |
10 | 10 |
[% END %] |
11 |
</h1>
|
|
11 |
</h3>
|
|
12 | 12 |
|
13 | 13 |
<div class="section-description" id="section-description"> |
14 |
<div class="section-description-heading">[%- LxERP.t8("Preamble") %]</div> |
|
15 |
[% IF requirement_spec_item.description %] |
|
16 |
[%- requirement_spec_item.description_as_restricted_html -%] |
|
17 |
[%- ELSE %] |
|
18 |
<span class="dimmed-text">[%- LxERP.t8("No text has been entered yet.") %]</span> |
|
19 |
[%- END %] |
|
20 |
</div> |
|
14 |
<div> |
|
15 |
[% IF requirement_spec_item.description %] |
|
16 |
<span class="label section-description-heading">[%- LxERP.t8("Preamble") %]:</span><br> |
|
17 |
[%- requirement_spec_item.description_as_restricted_html -%] |
|
18 |
[%- ELSE %] |
|
19 |
<span class="dimmed-text">[%- LxERP.t8("No text has been entered yet.") %]</span> |
|
20 |
[%- END %] |
|
21 |
</div> |
|
22 |
|
|
23 |
[% IF requirement_spec_item.sellprice_factor %] |
|
24 |
<div> |
|
25 |
<span class="label">[%- LxERP.t8("Price Factor") -%]:</span> [%- LxERP.format_amount(requirement_spec_item.sellprice_factor, -2) -%] |
|
26 |
</div> |
|
27 |
[% END %] |
|
21 | 28 |
|
22 |
<div class="smaller gray" style="text-align:right"> |
|
23 |
[%- LxERP.t8("Price Factor") -%]: [%- LxERP.format_amount(requirement_spec_item.sellprice_factor, -2) -%] |
|
24 | 29 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/requirement_spec_item/_section_header.html