UI: Conference website web-assets v2 upgrade #103970
@ -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 %}
|
| {% 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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user