{% extends "base.html" %} {% load user_extras %} {% load cache %} {% load event_extras %} {% load bootstrap %} {% load rich_text %} {% load i18n %} {% block title %} {{ event.title }} {% endblock %} {% block html_head %} {% endblock %} {% block content %} {% if not event.active %} {% if event.shifts.exists %} {% translate "This event has not been saved! If you are done editing the event, you can save it." as not_active_error %} {% translate "Save" as save_trans %}
{% else %} {% translate "This event has not been saved! Please add a shift to save this event." as no_shift_error %} {% render_alert no_shift_error "danger" %} {% endif %} {% endif %}{% translate "No shifts" %}
{% endfor %}