mirror of
https://github.com/pretix/pretix.git
synced 2025-12-09 00:42:28 +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">
|
||||
{{ var }}
|
||||
{% if cart.itemvarsums|getitem:var %}
|
||||
<span class="badge badge-success">
|
||||
<span class="textbubble-success">
|
||||
{% icon "shopping-cart" %}
|
||||
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:var %}
|
||||
{{ amount }}× in your cart
|
||||
@@ -283,7 +283,7 @@
|
||||
<h{{ headline_level|default:3|add:1 }} class="h4" id="{{ form_prefix }}item-{{ item.pk }}-legend">
|
||||
{{ item.name }}
|
||||
{% if cart.itemvarsums|getitem:item %}
|
||||
<span class="badge badge-success">
|
||||
<span class="textbubble-success">
|
||||
{% icon "shopping-cart" %}
|
||||
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:item %}
|
||||
{{ amount }}× in your cart
|
||||
|
||||
@@ -164,9 +164,6 @@ article.item-with-variations .product-row:last-child:after {
|
||||
display: block;
|
||||
line-height: 1;
|
||||
}
|
||||
h2 .badge, h3 .badge, h4 .badge, h5 .badge, h6 .badge {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
&.total {
|
||||
border-top: 1px solid $table-border-color;
|
||||
|
||||
Reference in New Issue
Block a user