{% extends "base.html" %} {% block title %}Objects — {{ service_name }}{% endblock %} {% block content %} {% if search_notes is defined %} {% for category, note, start, end in search_notes %} {% if category == "error" %} {% set alert_class="alert-danger" %} {% elif category == "warning" %} {% set alert_class="alert-warning" %} {% else %} {% set alert_class="alert-info" %} {% endif %}
ID | Name | Created | Last modified | {% if show_action %}Instrument | Action | {% endif %} {% for property_name in display_properties %}{{ display_property_titles[property_name] }}{% if property_name not in ('hazards', 'tags') %} {% endif %} | {% endfor %}||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Date | User | Date | User | |||||||||
{{ object.object_id }} | {{ object.data['name']['text'] }} | {{ object.created_at }} | {{ object.created_by.name }} | {{ object.last_modified_at }} | {{ object.modified_by.name }} | {% if show_action %} {% if object.action is not none %} {% if object.action.instrument is not none %}{{ object.action.instrument.name }} | {% else %}— | {% endif %}{{ object.action.name }} | {% else %}— | — | {% endif %} {% endif %} {% for property_name in display_properties %} {% if object.display_properties[property_name] is not none %} {% set data = object.display_properties[property_name][0] %} {% set schema = object.display_properties[property_name][1] %}{% include "objects/view/table_any.html" %} | {% else %}— | {% endif %} {% endfor %}