Reduced "tickets and/or products" to "products"

This commit is contained in:
Richard Schreiber
2021-02-22 16:02:45 +01:00
parent 32f1c32936
commit 3423923d84
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
{% load eventsignal %}
{% load rich_text %}
{% for tup in items_by_category %}
<section{% if tup.0 %} aria-labelledby="category-{{ tup.0.id }}"{% else %} aria-label="{% trans "Uncategorized tickets and/or products" %}"{% endif %}{% if tup.0.description %} aria-describedby="category-info-{{ tup.0.id }}"{% endif %}>
<section{% if tup.0 %} aria-labelledby="category-{{ tup.0.id }}"{% else %} aria-label="{% trans "Uncategorized products" %}"{% endif %}{% if tup.0.description %} aria-describedby="category-info-{{ tup.0.id }}"{% endif %}>
{% if tup.0 %}
<h3 id="category-{{ tup.0.id }}">{{ tup.0.name }}</h3>
{% if tup.0.description %}

View File

@@ -24,7 +24,7 @@
{{ ev.event_microdata }}
</script>
{% endautoescape %}
<main aria-label="{% trans "General information, add tickets and/or products to your cart" %}">
<main aria-label="{% if show_cart %}{% trans "Your cart, general information, add products to your cart" %}{% else %}{% trans "General information, add products to your cart" %}{% endif %}">
{% if show_cart %}
<details class="panel panel-primary cart" open>
<summary class="panel-heading">