GX-Bug #60884 » under18refactoring.patch
src/templates/Honeygrid/styles/modules/_product_info.scss (date 1541065454000) | ||
---|---|---|
1060 | 1060 |
transform: rotate(360deg); |
1061 | 1061 |
} |
1062 | 1062 |
} |
1063 | ||
1064 |
/* Under 18 |
|
1065 |
========================================================================== */ |
|
1066 | ||
1067 |
.legal-age { |
|
1068 |
text-align: center; |
|
1069 |
padding: 20px 5px 30px; |
|
1070 |
font-weight: bold; |
|
1071 |
border-bottom: 1px solid #d5d5d5; |
|
1072 |
margin-bottom: 20px; |
|
1073 |
& span { |
|
1074 |
background: #c81c1c; |
|
1075 |
border-radius: 100%; |
|
1076 |
color: #ffffff; |
|
1077 |
padding: 2px 4px 3px; |
|
1078 |
margin-right: 5px; |
|
1079 |
} |
|
1080 |
} |
src/lang/english/original_sections/product/product_info.lang.inc.php (date 1541063041000) | ||
---|---|---|
33 | 33 |
'text_weight_qty_unit' => 'piece', |
34 | 34 |
'text_weight_unit' => 'kg per ', |
35 | 35 |
'text_window_close' => 'close', |
36 |
'text_under_18' => 'This product is not for sale for people under 18 years!', |
|
36 | 37 |
'shipping_after_available' => 'will be shipped after release', |
37 | 38 |
'unknown_shippingtime' => 'Unkown shippingtime' |
38 | 39 |
); |
src/templates/Honeygrid/snippets/product_info/legal_age.html (date 1541065114000) | ||
---|---|---|
1 | 1 |
{if $PRODUCTS_FSK18 == 'true'} |
2 | 2 |
{block name="snippets_product_info_legal_age"} |
3 | 3 |
<div class="legal-age"> |
4 |
<img src="{$tpl_path}assets/images/ab18.png" alt="" /> |
|
4 |
<span>18</span> |
|
5 |
{$txt.text_under_18} |
|
5 | 6 |
</div> |
6 | 7 |
{/block} |
7 | 8 |
{/if} |
src/lang/german/original_sections/product/product_info.lang.inc.php (date 1541063041000) | ||
---|---|---|
33 | 33 |
'text_weight_qty_unit' => 'Stück', |
34 | 34 |
'text_weight_unit' => 'kg je ', |
35 | 35 |
'text_window_close' => 'Schließen', |
36 |
'text_under_18' => 'Dieses Produkt ist nicht freigegeben unter 18 Jahren!', |
|
36 | 37 |
'shipping_after_available' => 'Lieferung erfolgt nach Erscheinen', |
37 |
'unknown_shippingtime' => 'Unbekannte Lieferzeit',
|
|
38 |
'unknown_shippingtime' => 'Unbekannte Lieferzeit' |
|
38 | 39 |
); |