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
3 changed files with 8 additions and 12 deletions
Showing only changes of commit 9c1fc368db - Show all commits

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 %}
| {% is_attending_edition user edition as is_attending %}
| {% if request.user.is_superuser and events_unscheduled_count %}
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 %}
| {% include "conference_main/components/schedule_unscheduled_events.pug" %}
| {% if edition.schedule_status == 'proposed' %}
.alert.alert-fluid.alert-warning

View File

@ -10,12 +10,7 @@
| {% block content %}
| {% is_attending_edition user edition as is_attending %}
| {% if request.user.is_superuser and events_unscheduled_count %}
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 %}
| {% include "conference_main/components/schedule_unscheduled_events.pug" %}
| {% if edition.schedule_status == 'proposed' %}
.alert.alert-fluid.alert-warning