[UI] Fix organizer event-list status-bubble overflow

This commit is contained in:
Richard Schreiber
2024-12-11 11:36:15 +01:00
committed by GitHub
parent 18801f2d1c
commit 0f590caa18

View File

@@ -53,7 +53,7 @@
</div> </div>
{% for e in events %}{% eventurl e "presale:event.index" as url %} {% for e in events %}{% eventurl e "presale:event.index" as url %}
<div class="row"> <div class="row">
<div class="col-md-5 col-xs-12"> <div class="col-md-4 col-xs-12">
<a href="{{ url }}"> <a href="{{ url }}">
<strong> <strong>
{{ e.name }} {{ e.name }}
@@ -87,7 +87,7 @@
{% endif %} {% endif %}
<td> <td>
</div> </div>
<div class="col-md-2 col-xs-6"> <div class="col-md-3 col-xs-6">
<small> <small>
{% if e.has_subevents %} {% if e.has_subevents %}
{% textbubble "info" icon="bars" %} {% textbubble "info" icon="bars" %}
@@ -133,18 +133,19 @@
{% textbubble "danger" icon="times" %} {% textbubble "danger" icon="times" %}
{% trans "Sale over" %} {% trans "Sale over" %}
{% endtextbubble %} {% endtextbubble %}
{% elif e.settings.presale_start_show_date %} {% else %}
{% textbubble "warning" icon="clock-o" %} {% textbubble "warning" icon="clock-o" %}
{% trans "Not yet on sale" %}
{% endtextbubble %}
{% if e.settings.presale_start_show_date %}
<br><span class="text-muted">
{% with date_iso=e.effective_presale_start.isoformat date_human=e.effective_presale_start|date:"SHORT_DATE_FORMAT" %} {% with date_iso=e.effective_presale_start.isoformat date_human=e.effective_presale_start|date:"SHORT_DATE_FORMAT" %}
{% blocktrans trimmed with date='<time datetime="'|add:date_iso|add:'">'|add:date_human|add:"</time>"|safe %} {% blocktrans trimmed with date='<time datetime="'|add:date_iso|add:'">'|add:date_human|add:"</time>"|safe %}
Sale starts {{ date }} Sale starts {{ date }}
{% endblocktrans %} {% endblocktrans %}
{% endwith %} {% endwith %}
{% endtextbubble %} </span>
{% else %} {% endif %}
{% textbubble "warning" icon="clock-o" %}
{% trans "Not yet on sale" %}
{% endtextbubble %}
{% endif %} {% endif %}
</small> </small>
</div> </div>