UI: 2024 Hero component options #103971

Merged
Márton Lente merged 66 commits from ui/2024-hero-options into main 2024-09-24 13:00:31 +02:00
4 changed files with 9 additions and 13 deletions
Showing only changes of commit db09d55bac - Show all commits

@ -1 +1 @@
Subproject commit 8fc7eb32ce9b0c9ecbaa07ff3232cc8c6cdebe21 Subproject commit 988d23bff0deb21518ec477c2ae67730e84e7712

View File

@ -0,0 +1,6 @@
| {% if request.user.is_superuser and events_unscheduled_count %}
a.alert.alert-fluid.alert-info.text-center(
href="{% url 'admin:conference_main_event_changelist' %}?edition__id__exact={{edition.id}}&is_scheduled=No")
| There {{ events_unscheduled_count|pluralize:"is,are" }} {{ events_unscheduled_count }}
| unscheduled event{{ events_unscheduled_count|pluralize }}
| {% endif %}

View File

@ -10,12 +10,7 @@
| {% block content %} | {% block content %}
| {% is_attending_edition user edition as is_attending %} | {% is_attending_edition user edition as is_attending %}
| {% if request.user.is_superuser and events_unscheduled_count %} | {% include "conference_main/components/schedule_unscheduled_events.pug" %}
a.alert.alert-fluid.alert-info(
href="{% url 'admin:conference_main_event_changelist' %}")
| There {{ events_unscheduled_count|pluralize:"is,are" }} {{ events_unscheduled_count }}
| unscheduled event{{ events_unscheduled_count|pluralize }}
| {% endif %}
| {% if edition.schedule_status == 'proposed' %} | {% if edition.schedule_status == 'proposed' %}
.alert.alert-fluid.alert-warning .alert.alert-fluid.alert-warning

View File

@ -10,12 +10,7 @@
| {% block content %} | {% block content %}
| {% is_attending_edition user edition as is_attending %} | {% is_attending_edition user edition as is_attending %}
| {% if request.user.is_superuser and events_unscheduled_count %} | {% include "conference_main/components/schedule_unscheduled_events.pug" %}
a.alert.alert-fluid.alert-info(
href="{% url 'admin:conference_main_event_changelist' %}")
| There {{ events_unscheduled_count|pluralize:"is,are" }} {{ events_unscheduled_count }}
| unscheduled event{{ events_unscheduled_count|pluralize }}
| {% endif %}
| {% if edition.schedule_status == 'proposed' %} | {% if edition.schedule_status == 'proposed' %}
.alert.alert-fluid.alert-warning .alert.alert-fluid.alert-warning