{% extends 'bridge/base.html' %} {% comment "License" %} % Copyright (c) 2019 ISP RAS (http://www.ispras.ru) % Ivannikov Institute for System Programming of the Russian Academy of Sciences % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to in writing, software % distributed under the License is distributed on an "AS IS" BASIS, % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. % See the License for the specific language governing permissions and % limitations under the License. {% endcomment %} {% load i18n %} {% load tz %} {% load humanize %} {% load static %} {% load compress %} {% load tableheader %} {% block title %}{% trans 'Unsafes mark' %}{% endblock %} {% block head_block %} {% compress css file mark %} {% endcompress %} {% compress js file mark %} {% endcompress %} {% endblock %} {% block body_block %}
{# Mark menu #} {% if mark.author %} {% endif %} {% if bug_status %} {% endif %} {% if mark_version.description %} {% endif %}
{% trans 'Identifier' %} {{ mark.identifier }}
{% trans 'Source' %} {{ mark.get_source_display }}
{% trans 'Author' %} {{ mark.author.get_full_name }}
{% trans 'Last change' %} {% if user.data_format == 'hum' %}{{ mark_version.change_date|naturaltime }}{% else %}{{ mark_version.change_date }}{% endif %} {% if mark_version.author %} ({{ mark_version.author.get_full_name }}) {% endif %} {% if mark_version.comment|length %}

{% trans 'Comment' %}: "{{ mark_version.comment }}"

{% endif %}
{% trans 'Verdict' %} {{ verdict.text }}
{% trans 'Status' %} {{ bug_status.text }}
{% trans 'Association threshold' %} {{ mark.threshold_percentage }}%
{% trans 'Description' %} {{ mark_version.description|safe }}

{% trans 'Tags' %}

{% include 'marks/MarkTagsTree.html' with tags=tags view_only=True %}

{% trans 'Error traces comparison function and converted error trace' %}

{{ compare_func.name }}

{{ compare_func.desc }}

{{ convert_func.name }}

{{ convert_func.desc }}

{% if error_trace %}
{% trans 'Converted error trace' %}
{{ error_trace }}
{% else %}
{% trans 'Regular expression' %}
{{ mark.regexp }}
{% endif %}
{# Attributes #}
{% trans 'Attributes' %}
{% for attr in mark_version.attrs.all %} {% endfor %}
{{ attr.name }} {% if attr.is_compare %} {% else %} {% endif %} {{ attr.value }}
{# Mark versions list #} {% if access.can_edit %} {% include 'marks/versions.html' with versions=versions %} {% endif %}

{% trans 'Associated leaf reports' %}

{# View for associated reports #} {% include reports.view.template with view=reports.view selected_columns=reports.selected_columns available_columns=reports.available_columns ass_types=reports.ass_types %} {# Associated reports table #} {% if reports.values|length %}
{% if reports.page.has_previous %} {% endif %} {% blocktrans with n1=reports.page.number n2=reports.paginator.num_pages %}Page {{ n1 }} of {{ n2 }}{% endblocktrans %} {% if reports.page.has_next %} {% endif %}
{% tableheader reports.columns reports.titles %} {% for row_data in reports.values %} {% for v in row_data %} {% endfor %} {% endfor %}
{% if v.column == 'associated' %} {% if v.value %} {% else %} {% endif %} {% elif v.href %} {{ v.value }} {% else %} {{ v.value }} {% endif %}
{% else %}
{% trans 'The list of associated reports is empty. Maybe it is because of the selected view.' %}
{% endif %}
{% if access.can_delete %} {% endif %} {% endblock %}