{% block head %} {% block title %}{{ service_name }}{% endblock %} {% block stylesheets %} {% endblock %} {% endblock %} {% if current_user.is_authenticated %} {% set num_unread_notifications = (current_user | get_num_unread_notifications) %} {% else %} {% set num_unread_notifications = 0 %} {% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %} {% if category == "error" %} {% set alert_class="alert-danger" %} {% elif category == "warning" %} {% set alert_class="alert-warning" %} {% elif category == "success" %} {% set alert_class="alert-success" %} {% else %} {% set alert_class="alert-info" %} {% endif %} {% endfor %} {% endwith %} {% block readonly_alert %} {% if current_user.is_readonly %}

Note: Your account has been marked as read only. If you think this was done erroneously, please contact an administrator.

{% endif %} {% endblock %} {% block content %}{% endblock %}
{% block scripts %} {% endblock %}