diff --git a/src/pretix/control/templates/pretixcontrol/items/category.html b/src/pretix/control/templates/pretixcontrol/items/category.html index 0efc4a336d..e358dc79f9 100644 --- a/src/pretix/control/templates/pretixcontrol/items/category.html +++ b/src/pretix/control/templates/pretixcontrol/items/category.html @@ -16,8 +16,8 @@ {% bootstrap_field form.internal_name layout="control" %} {% bootstrap_field form.description layout="control" %} - {% bootstrap_field form.category_type layout="control" %} - {% bootstrap_field form.cross_selling_condition layout="control" %} + {% bootstrap_field form.category_type layout="control" horizontal_field_class="big-radio-wrapper col-lg-9" %} + {% bootstrap_field form.cross_selling_condition layout="control" horizontal_field_class="big-radio-wrapper col-lg-9" %} {% bootstrap_field form.cross_selling_match_products layout="control" %} diff --git a/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html b/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html index 6e81da7eb3..d4263fb5c6 100644 --- a/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html +++ b/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html @@ -20,10 +20,12 @@

- {% trans "Add-ons:" %} - {{ form.item.name }}{% if form.variation %} - – {{ form.variation }} - {% endif %} + + {% trans "Additional options for" %} + {{ form.item.name }}{% if form.variation %} + – {{ form.variation }} + {% endif %} +

@@ -50,7 +52,18 @@ {% endfor %}
- {% include "pretixpresale/event/fragment_product_list.html" with items_by_category=cross_selling_data ev=event %} + {% if cross_selling_data %} +
+ +

+ {% trans "More recommendations" %} +

+
+
+ {% include "pretixpresale/event/fragment_product_list.html" with items_by_category=cross_selling_data ev=event %} +
+
+ {% endif %}
diff --git a/src/pretix/static/pretixcontrol/scss/_forms.scss b/src/pretix/static/pretixcontrol/scss/_forms.scss index c557d3d522..ad628cca0f 100644 --- a/src/pretix/static/pretixcontrol/scss/_forms.scss +++ b/src/pretix/static/pretixcontrol/scss/_forms.scss @@ -567,7 +567,7 @@ table td > .checkbox input[type="checkbox"] { } } } -.form-horizontal .big-radio { +.form-horizontal .big-radio, .form-horizontal .big-radio-wrapper .radio { border: 1px solid #ccc; border-bottom: 0; padding: 0; @@ -588,6 +588,9 @@ table td > .checkbox input[type="checkbox"] { border-bottom: 1px solid #ccc; } } +.form-horizontal .big-radio-wrapper .radio label > span { + display: block; +} .accordion-radio { display: block; margin: 0; diff --git a/src/pretix/static/pretixpresale/scss/_checkout.scss b/src/pretix/static/pretixpresale/scss/_checkout.scss index 09bd7d2ef7..024bdfb800 100644 --- a/src/pretix/static/pretixpresale/scss/_checkout.scss +++ b/src/pretix/static/pretixpresale/scss/_checkout.scss @@ -102,6 +102,9 @@ } } } +.cross-selling .panel-body > section:first-child > h3 { + margin-top: 10px; font-size: 21px; +} .panel-confirm {