UI: Conference website web-assets v2 upgrade #103970

Merged
Márton Lente merged 50 commits from ui/web-assets-v2-update into main 2024-09-23 12:34:43 +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 %} | {% 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