{% extends "base.html" %} {% load timeutil %} {% load scientific %} {% load sanitize_html %} {% load logtags %} {% block title %}View {{ object.graceid }}{% endblock %} {% block heading %}{% endblock %} {% block bodyattrs %}class="tundra eventDetail"{% endblock %} {% block jscript %} {# XXX http/https depending on this pages' protocol #} {% endblock %} {% block content %}

{{ message }}

Basic Info

{% if skyalert_authorized %} {% endif %}
UID Labels Group Type Instruments {{ "gps"|timeselect:"gps" }} Event Time FAR (Hz) Links {{"created"|timeselect:"utc" }} Submitted
{{ object.graceid }} {% for labelling in object.labelling_set.all %} {{ labelling.label.name }} {% endfor %} {{ object.group.name }} {{ object.get_analysisType_display }} {{ object.instruments }} {% if object.gpstime%} {{ object.gpstime|multiTime:"gps" }} {% endif %} {{ object.far|scientific }} Data {{ object.created|multiTime:"created" }}
{# Analysis-specific attributes #} {% block analysis_specific %} {# This block is empty in the base event_detail template #} {% endblock %}
{% if nearby %}

Neighbors

{% for delta, object in nearby %} {% endfor %}
UID Labels Group Type Instruments {{ "ngps"|timeselect:"gps" }} Event Time FAR (Hz) Links {{"ncreated"|timeselect:"utc" }} Submitted
{{ object.graceid }} {% for labelling in object.labelling_set.all %} {{ labelling.label.name }} {% endfor %} {{ object.group.name }} {{ object.get_analysisType_display }} {{ object.instruments }} {% if object.gpstime%} {{ object.gpstime|multiTime:"ngps" }} {% endif %} {{ object.far|scientific }} Data {{ object.created|multiTime:"ncreated" }}
{% endif %}
{# XXX Hacky #} {# With the title here, people will know that all of the things in the #} {# panes are log messages #} {% if object.getAvailableTags %}

Event Log Messages

Use this form to apply a tag to your new log entry. Choose a tag name from the dropdown menu or enter a new one. If you are creating a new tag, please also provide a display name.

  Tag name   Display name
{% endif %} {# Loop over the available tags. #} {% if object.getAvailableTags %} {% for tag in object.getAvailableTags %} {% if tag.name in blessed_tags %} {# Create a div to hold the pane innerHTML for this tag #}
{# A section for the images #} {% if object|logsForTagHaveImage:tag.name %}
{% for log in object|getLogsForTag:tag.name %} {% if log.hasImage %} {% endif %} {% endfor %}
{{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}}. {% endif %} Submitted by {{log.issuer}} on {{log.created}}
{% endif %} {# A section for the text-only captions #} {% if object|logsForTagHaveText:tag.name %} {# Set up regular log message table #} {% for log in object|getLogsForTag:tag.name %} {% if not log.hasImage %} {% endif %} {% endfor %}
No. {{ "logtime"|timeselect:"utc" }} Log Entry Created Submitter Comment
{{log.N}} {{log.created|multiTime:"logtime"}} {{log.issuer.first_name}} {{log.issuer.last_name}} {{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}} {% endif %}
{% endif %}
{% endif %} {# endif the tag is blessed #} {% endfor %} {% endif %}
{# XXX Hacky. We don't want the title here if we're doing panes. #} {# And we only do panes if there are available tags. #} {% if not object.getAvailableTags %}

Event Log Messages

Use this form to apply a tag to your new log entry. Choose a tag name from the dropdown menu or enter a new one. If you are creating a new tag, please also provide a display name.

  Tag name   Display name
{% endif %} {% if object.eventlog_set.count %} {% if blessed_tags %}

Use this form to tag an existing log message. Choose a tag name from the dropdown menu or enter a new one. If you are creating a new tag, please also provide a display name.

Log No.    Tag name    Display name

{% endif %} {% if object.getAvailableTags %} {% endif %} {% for log in object.eventlog_set.iterator %} {% if object.getAvailableTags %} {% endif %} {% endfor %}
No. {{ "logtime"|timeselect:"utc" }} Log Entry Created SubmitterTagsComment  
{{log.N}} {{log.created|multiTime:"logtime"}} {{log.issuer.first_name}} {{ log.issuer.last_name}} {%for tag in log.tag_set.all %} {% endfor %}
{{tag.name}}
{{log.comment|sanitize}} {% if log.fileurl %} {{log.filename}} {% endif %} {% if log.hasImage %} {% endif %}
{% endif %}
{% endblock %}