From 532c7fbc8f51f3931e55dbc87a574caba62b1729 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Tue, 7 Aug 2018 14:28:11 +0200 Subject: [PATCH] Add helpful title text to numeric inputs --- src/pretix/presale/templates/pretixpresale/event/index.html | 6 ++++-- .../presale/templates/pretixpresale/event/voucher.html | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/index.html b/src/pretix/presale/templates/pretixpresale/event/index.html index 792a1d7f31..9074d3024b 100644 --- a/src/pretix/presale/templates/pretixpresale/event/index.html +++ b/src/pretix/presale/templates/pretixpresale/event/index.html @@ -336,7 +336,8 @@ {% else %} + id="item_{{ item.id }}" + title="{% blocktrans with item=item.name %}Amount of {{ item }} to order{% endblocktrans %}"> {% endif %} {% else %} diff --git a/src/pretix/presale/templates/pretixpresale/event/voucher.html b/src/pretix/presale/templates/pretixpresale/event/voucher.html index 2a6b1466d5..cb2bcdb986 100644 --- a/src/pretix/presale/templates/pretixpresale/event/voucher.html +++ b/src/pretix/presale/templates/pretixpresale/event/voucher.html @@ -123,7 +123,8 @@ pattern="\d*" max="{{ item.order_max }}" id="variation_{{ item.id }}_{{ var.id }}" - name="variation_{{ item.id }}_{{ var.id }}"> + name="variation_{{ item.id }}_{{ var.id }}" + title="{% blocktrans with item=item.name var=var.name %}Amount of {{ item }} – {{ var }} to order{% endblocktrans %}"> {% else %}