{% comment %} Copyright (c) Siemens AG, 2013 This file is part of MANTIS. MANTIS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or(at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load dingos_tags %} {% block fact %} {% if formset and formindex %}
{% csrf_token %} {{ formset.management_form }} {% endif %}

Facts

{% if is_paginated %} {% render_paginator %} {% endif %}
{% for k in iobject2facts %} {% if forloop.first %} {% if show_NodeID %} {% endif %} {% node_indent "th" k.node_id.name "" "" %} Value {% node_indent_end "th" k.node_id.name "" "" %} {% endif %} {% if show_NodeID%} {% endif %} {% node_indent "td" k.node_id.name k.fact.fact_term.term k.fact.fact_term.attribute highlight %} {% if k.fact.value_iobject_id %} {% if k.fact.value_iobject_id.latest.name == 'PLACEHOLDER' %} {{k.fact.value_iobject_id.latest.iobject_type.name}} {% else %} {{k.fact.value_iobject_id.latest.name}} {% endif %} {% else %} {% for value in k.fact.fact_values.all %} {% if value.storage_location == 1 %} On Disk: {{ value.value }} {% elif value.storage_location == 2 %} {% lookup_blob value.value %} {% elif k.node_id.name in formindex %} {% render_formset_form formset formindex k.node_id.name 'value' %} {% else %} {{ value.value }} {% endif %} {% if not forloop.last %} ,
{% endif %} {% endfor %} {% endif %} {% node_indent_end "td" k.node_id.name k.fact.fact_term.term k.fact.fact_term.attribute %} {% endfor %}
Datatype
{{k.node_id}} {{k.fact.fact_values.all.0.fact_data_type.name}}
{% if is_paginated %} {% render_paginator %} {% endif %}
{% if formset and formindex %}
{% endif %} {% endblock %}

Related InfoObjects where this is the source

{% for k in object.yields_via.all %} {% if forloop.first %} {% endif %} {% endfor %}
Reason Related Observable Date

This {{ k.relation_type.fact_values.all|join:"

This

"|lower }}

{{k.target_id.latest}}

Related Observables where this is the target

{% for k in object.identifier.yielded_by_via.all %} {% if forloop.first %} {% endif %} {% for e in k.investigation_step_thru.all.0.investigation_step.metadata.object_set.all %} {% endfor %} {% endfor %}
Related Observable Reason Date Relating Investigation Step Investigation-Step Metadata
{{k.source_iobject.name}}

{{ k.relation_type.fact_values.all|join:" this

"|lower }} this

{{k.investigation_step_thru.all.0.investigation_step.date|date}} {{k.investigation_step_thru.all.0.investigation_step.name}}

{{ e.facts.all|join:"

" }}