mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Do not show internal name in cart tooltips
This commit is contained in:
@@ -248,14 +248,14 @@
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="id" value="{{ line.id }}" />
|
||||
{% if line.seat or line.count == 1 %}
|
||||
<button class="btn btn-mini btn-link" title="{% blocktrans with item=line.item %}Remove {{item}} from your cart{% endblocktrans %}">
|
||||
<button class="btn btn-mini btn-link" title="{% blocktrans with item=line.item.name %}Remove {{item}} from your cart{% endblocktrans %}">
|
||||
<i class="fa fa-trash" aria-hidden="true"></i>
|
||||
<span class="sr-only">{% blocktrans with item=line.item %}Remove {{item}} from your cart{% endblocktrans %}</span>
|
||||
<span class="sr-only">{% blocktrans with item=line.item.name %}Remove {{item}} from your cart{% endblocktrans %}</span>
|
||||
</button>
|
||||
{% else %}
|
||||
<button class="btn btn-mini btn-link" title="{% blocktrans with item=line.item %}Remove one {{item}} from your cart{% endblocktrans %}">
|
||||
<button class="btn btn-mini btn-link" title="{% blocktrans with item=line.item.name %}Remove one {{item}} from your cart{% endblocktrans %}">
|
||||
<i class="fa fa-minus" aria-hidden="true"></i>
|
||||
<span class="sr-only">{% blocktrans with item=line.item count=line.count %}Remove one {{item}} from your cart. You currently have {{count }} in your cart.{% endblocktrans %}</span>
|
||||
<span class="sr-only">{% blocktrans with item=line.item.name count=line.count %}Remove one {{item}} from your cart. You currently have {{count }} in your cart.{% endblocktrans %}</span>
|
||||
</button>
|
||||
{% endif %}
|
||||
</form>
|
||||
@@ -283,9 +283,9 @@
|
||||
<input type="hidden" name="price_{{ line.item.id }}"
|
||||
value="{% if event.settings.display_net_prices %}{{ line.bundle_sum_net }}{% else %}{{ line.bundle_sum }}{% endif %}" />
|
||||
{% endif %}
|
||||
<button class="btn btn-mini btn-link {% if line.seat %}btn-invisible{% endif %}" title="{% blocktrans with item=line.item %}Add one more {{item}} to your cart{% endblocktrans %}" {% if line.seat %}disabled{% endif %}>
|
||||
<button class="btn btn-mini btn-link {% if line.seat %}btn-invisible{% endif %}" title="{% blocktrans with item=line.item.name %}Add one more {{item}} to your cart{% endblocktrans %}" {% if line.seat %}disabled{% endif %}>
|
||||
<i class="fa fa-plus" aria-hidden="true"></i>
|
||||
<span class="sr-only">{% blocktrans with item=line.item count=line.count %}Add one more {{item}} to your cart. You currently have {{ count }} in your cart.{% endblocktrans %}</span>
|
||||
<span class="sr-only">{% blocktrans with item=line.item.name count=line.count %}Add one more {{item}} to your cart. You currently have {{ count }} in your cart.{% endblocktrans %}</span>
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user