[A11y] underline inline-links (#5102)

This commit is contained in:
Richard Schreiber
2025-05-15 12:32:23 +02:00
committed by GitHub
parent e7d024b146
commit 225b2452bd
3 changed files with 19 additions and 3 deletions

View File

@@ -94,10 +94,11 @@
</a>
{% else %}
<h1>
<a href="{% eventurl event "presale:event.index" cart_namespace=cart_namespace|default_if_none:"" %}">{{ event.name }}</a>
<a href="{% eventurl event "presale:event.index" cart_namespace=cart_namespace|default_if_none:"" %}" class="no-underline">{{ event.name }}
{% if request.event.settings.show_dates_on_frontpage and not event.has_subevents %}
<small>{{ event.get_date_range_display_as_html }}</small>
<small class="text-muted">{{ event.get_date_range_display_as_html }}</small>
{% endif %}
</a>
</h1>
{% endif %}
</div>