{% 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 static %} {% load compress %} {% block title %}{{ data.title }}{% endblock %} {% block head_block %} {% compress css file mark %} {% endcompress %} {% compress js file markform %} {% endcompress %} {% endblock %} {% block body_block %}
{# Versions selector #} {% if versions %} {% endif %} {% if data.type == 'unknown' %} {# Unknown pattern, function and problem link #}




{% if data.action == 'create' %}

{% endif %}
{% else %}
{# Verdict #}

{% trans 'Verdict' %}

{% for v in data.verdicts %}

{% endfor %}
{% if data.type == 'unsafe' %} {# Status #} {% endif %}
{# Tags #}

{% trans 'Tags' %}

{% include 'marks/MarkTagsForm.html' with tags=data.tags %}
{% endif %} {# Description #}

{% trans 'Description' %}


{% if access.can_freeze %}
{% endif %}

{% trans 'Cancel' %}
{% if data.type == 'unsafe' %} {# Association threshold #}

{% trans 'Association threshold' %}: %

{% if data.action == 'edit' %} {# Comparison function and error trace #}

{% trans 'Error traces comparison function' %}

{{ data.function }}

{{ data.compare_func.desc }}

{{ data.convert_func.name }}

{{ data.convert_func.desc }}

{% if not data.compare_func.is_regexp %}

{% trans 'Converted error trace' %}

{% endif %}
{% else %} {# Comparison function #}

{% trans 'Error traces comparison function' %}

{{ data.compare_func.desc }}

{{ data.convert_func.name }}

{{ data.convert_func.desc }}


{% endif %} {% elif data.type == 'unknown' and problem_description %}
{{ problem_description }}
{% endif %} {# Attributes #} {% if attrs|length %}
{% trans 'Attributes' %}
{% for attr in attrs %} {% endfor %}
{{ attr.name }}
{% endif %}
{% if data.action == 'create' %} {% endif %} {% endblock %}