Revision 2d71d993
Von Tamino Steinert vor fast 2 Jahren hinzugefügt
templates/webpages/reclamation_reason/form.html | ||
---|---|---|
19 | 19 |
</tr> |
20 | 20 |
<tr> |
21 | 21 |
<th align="right">[% 'Valid for Sales' | $T8 %]</th> |
22 |
<td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_sales", checked=reclamation_reason.valid_for_sales, for_submit=1) %]</td> |
|
22 |
<td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_sales", checked=SELF.reclamation_reason.valid_for_sales, for_submit=1) %]</td>
|
|
23 | 23 |
</tr> |
24 | 24 |
<tr> |
25 | 25 |
<th align="right">[% 'Valid for Purchase' | $T8 %]</th> |
26 |
<td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_purchase", checked=reclamation_reason.valid_for_purchase, for_submit=1) %]</td> |
|
26 |
<td align="left">[% L.checkbox_tag("reclamation_reason.valid_for_purchase", checked=SELF.reclamation_reason.valid_for_purchase, for_submit=1) %]</td>
|
|
27 | 27 |
</tr> |
28 | 28 |
</table> |
29 | 29 |
</form> |
templates/webpages/reclamation_reason/list.html | ||
---|---|---|
20 | 20 |
<td><a href="[% SELF.url_for(action='edit', id=reason.id) %]">[% HTML.escape(reason.name) %] |
21 | 21 |
[% # reason.level %]</a></td> |
22 | 22 |
<td>[% reason.description | html %]</td> |
23 |
<td>[% (reason.valid_for_sales? 'Yes' : 'No') | $T8 %]</td>
|
|
24 |
<td>[% (reason.valid_for_purchase? 'Yes' : 'No') | $T8 %]</td>
|
|
23 |
<td>[% reason.valid_for_sales_as_bool_yn %]</td>
|
|
24 |
<td>[% reason.valid_for_purchase_as_bool_yn %]</td>
|
|
25 | 25 |
[%- END %] |
26 | 26 |
</tbody> |
27 | 27 |
</table> |
Auch abrufbar als: Unified diff
ReclamationReason: fix templates