UI: 2024 Hero component options #103971
@ -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 %}
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user