{% extends "base.html" %} {% load sanitize_html %} {% load logtags %} {% block title %}{{ superevent.superevent_id }}{% endblock %} {% block heading %}{% endblock %} {% block bodyattrs %}class="tundra eventDetail"{% endblock %} {% block jscript %} {% load static %} {% if user.is_authenticated %} {% else %} {% endif %} {% endblock %} {% block content %}
{% if superevent.is_exposed and not user_is_external %}
PUBLIC SUPEREVENT

{% endif %} {% if messages %}
{% for m in messages %}

{{ m }}

{% endfor %}
{% endif %}

{{ superevent.superevent_id }}


{% if show_gw_status_form %} {% block executives %} {% include "superevents/executive_signoff_frag.html" %} {% endblock %} {% endif %} {% if can_modify_permissions %} {% block expose %} {% include "superevents/expose_hide_frag.html" %} {% endblock %} {% endif %} {# not sure why we need this if statement, maybe can delete in the future #} {% if 'lvem_view' not in request.path %} {#-- XXX This next bit is super hacky. #} {% if operator_signoff_authorized and operator_signoff_active %}
{{ operator_signoff_instrument }} Operator Signoff

You are seeing this section because you've connected from a machine that, according to our records, is in the {{ signoff_instrument }} control room.

{% if operator_signoff_exists %}

This event has already been signed off on. Use the form below if you wish to edit or delete the record.

{% else %}

This superevent still requires operator signoff. Please answer the following (and optionally enter a comment): At the time of the superevent ({{ object_gpstime_in_operator_tz }}), was the operating status of the detector basically okay, or not?

{% endif %}
{{ operator_signoff_form.as_table }}
{# inputs are disabled here, enabled by jquery code on page load. Otherwise users who click quickly can activate the form before the jquery is fully loaded #} {% if operator_signoff_exists %} {% with operator_signoff_type|add:operator_signoff_instrument as typeinst %} {% endwith %} {% else %} {% endif %}
{% endif %} {# Here is a section for the EM advocate signoffs. #} {% if advocate_signoff_authorized and advocate_signoff_active %} {% block advocate_signoff %} {% include "superevents/advocate_signoff_frag.html" %} {% endblock %} {% endif %} {% endif %} {# lvem_view not in request.path #}
{% if user.is_authenticated and rrt_group_authorized %} {% block rrt_info %} {% include "superevents/rrt_info_table.html" %} {% endblock %} {% endif %} {% block superevent_info %} {% if user.is_authenticated %} {% include "superevents/superevent_info_table.html" %} {% else %} {% include "superevents/superevent_info_table_public.html" %} {% endif %} {% endblock %}

{% block basic_info %} {% if user.is_authenticated %} {% include "superevents/preferred_event_info_table.html" %}

{% include "superevents/event_upload_detail.html" %}

{% include "superevents/pipeline_preferred_event_info_table.html" %} {% else %} {% include "superevents/preferred_event_info_table_public.html" %}

{% include "superevents/pipeline_preferred_event_info_table_public.html" %} {% endif %} {% endblock %}
{% include "superevents/log_entry_details.html" %}
{% endblock %}