mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Apply suggestions from code review
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -126,7 +126,7 @@
|
|||||||
<h{{ headline_level|default:3|add:2 }} class="h5" id="{{ form_prefix }}item-{{ item.pk }}-{{ var.pk }}-legend">
|
<h{{ headline_level|default:3|add:2 }} class="h5" id="{{ form_prefix }}item-{{ item.pk }}-{{ var.pk }}-legend">
|
||||||
{{ var }}
|
{{ var }}
|
||||||
{% if cart.itemvarsums|getitem:var %}
|
{% if cart.itemvarsums|getitem:var %}
|
||||||
<span class="badge badge-success">
|
<span class="textbubble-success">
|
||||||
{% icon "shopping-cart" %}
|
{% icon "shopping-cart" %}
|
||||||
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:var %}
|
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:var %}
|
||||||
{{ amount }}× in your cart
|
{{ amount }}× in your cart
|
||||||
@@ -283,7 +283,7 @@
|
|||||||
<h{{ headline_level|default:3|add:1 }} class="h4" id="{{ form_prefix }}item-{{ item.pk }}-legend">
|
<h{{ headline_level|default:3|add:1 }} class="h4" id="{{ form_prefix }}item-{{ item.pk }}-legend">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
{% if cart.itemvarsums|getitem:item %}
|
{% if cart.itemvarsums|getitem:item %}
|
||||||
<span class="badge badge-success">
|
<span class="textbubble-success">
|
||||||
{% icon "shopping-cart" %}
|
{% icon "shopping-cart" %}
|
||||||
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:item %}
|
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:item %}
|
||||||
{{ amount }}× in your cart
|
{{ amount }}× in your cart
|
||||||
|
|||||||
@@ -164,9 +164,6 @@ article.item-with-variations .product-row:last-child:after {
|
|||||||
display: block;
|
display: block;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
h2 .badge, h3 .badge, h4 .badge, h5 .badge, h6 .badge {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.total {
|
&.total {
|
||||||
border-top: 1px solid $table-border-color;
|
border-top: 1px solid $table-border-color;
|
||||||
|
|||||||
Reference in New Issue
Block a user