forked from CGM_Public/pretix_original
Calendar: add label „continued“ to event’s title
This commit is contained in:
committed by
GitHub
parent
e32e7e2a50
commit
4f21bf8001
@@ -24,7 +24,7 @@
|
||||
<p><time datetime="{{ day.date|date_fast:"Y-m-d" }}">{{ day.day }}</time></p>
|
||||
<ul class="events">
|
||||
{% for event in day.events %}
|
||||
<li><a class="event {% if event.continued %}continued{% else %} {% spaceless %}
|
||||
<li><a class="event {% if event.continued %}continued{% endif %} {% spaceless %}
|
||||
{% if event.event.presale_is_running and show_avail %}
|
||||
{% if event.event.best_availability_state == 100 %}
|
||||
available
|
||||
@@ -44,11 +44,12 @@
|
||||
{% else %}
|
||||
soon
|
||||
{% endif %}
|
||||
{% endspaceless %}{% endif %}"
|
||||
{% endspaceless %}"
|
||||
href="{{ event.url }}">
|
||||
{% if show_names|default_if_none:True %}
|
||||
<span class="event-name">
|
||||
{{ event.event.name }}
|
||||
{% if event.continued %} <i class="event-name-continued">{% trans "(continued)" %}</i>{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if not event.continued %}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
data-offset-shift="{{ event.offset_shift_start }}:{{ event.offset_shift_end }}"
|
||||
data-duration="{{ event.duration_rastered }}"
|
||||
data-concurrency="{{ event.concurrency }}">
|
||||
<a class="event {% if event.continued %}continued{% else %} {% spaceless %}
|
||||
<a class="event {% if event.continued %}continued{% endif %} {% spaceless %}
|
||||
{% if event.event.presale_is_running and show_avail %}
|
||||
{% if event.event.best_availability_state == 100 %}
|
||||
available
|
||||
@@ -57,11 +57,12 @@
|
||||
{% else %}
|
||||
soon
|
||||
{% endif %}
|
||||
{% endspaceless %}{% endif %}"
|
||||
{% endspaceless %}"
|
||||
href="{{ event.url }}">
|
||||
{% if show_names|default_if_none:True %}
|
||||
<span class="event-name">
|
||||
{{ event.event.name }}
|
||||
{% if event.continued %} <i class="event-name-continued">{% trans "(continued)" %}</i>{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if not event.continued %}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</summary>
|
||||
<ul class="events">
|
||||
{% for event in day.events %}
|
||||
<li><a class="event {% if event.continued %}continued{% else %} {% spaceless %}
|
||||
<li><a class="event {% if event.continued %}continued{% endif %} {% spaceless %}
|
||||
{% if event.event.presale_is_running and show_avail %}
|
||||
{% if event.event.best_availability_state == 100 %}
|
||||
available
|
||||
@@ -29,11 +29,12 @@
|
||||
{% else %}
|
||||
soon
|
||||
{% endif %}
|
||||
{% endspaceless %}{% endif %}"
|
||||
{% endspaceless %}"
|
||||
href="{{ event.url }}">
|
||||
{% if show_names|default_if_none:True %}
|
||||
<span class="event-name">
|
||||
{{ event.event.name }}
|
||||
{% if event.continued %} <i class="event-name-continued">{% trans "(continued)" %}</i>{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if not event.continued %}
|
||||
|
||||
@@ -92,6 +92,9 @@
|
||||
.event-name {
|
||||
display: block;
|
||||
}
|
||||
.event-name-continued {
|
||||
font-weight: normal;
|
||||
}
|
||||
.event-time, .event-status {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user