{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Baseline" %} {{ baseline.name }}{% endblock %} {% block contents %}

{% trans "Metadata" %}

{% trans "Project" %}
{{ project.name }}
{% trans "Kiwi Version" %}
{% if baseline.version %}{{ baseline.version }}{% else %}—{% endif %}
{% trans "Created" %}
{{ baseline.created_at|date:"Y-m-d H:i T" }}
{% trans "Created by" %}
{% if baseline.created_by %} {{ baseline.created_by.get_full_name|default:baseline.created_by.username }} {% else %}—{% endif %}
{% trans "Notes" %}
{{ baseline.notes|default:"—"|linebreaksbr }}
{% if sibling_baselines %}

{% trans "Diff with another baseline" %}

{% endif %}

{% trans "Frozen requirements" %} ({{ requirement_snapshots.count }})

{% for s in requirement_snapshots %} {% empty %} {% endfor %}
{% trans "Identifier" %} {% trans "Title" %} {% trans "Status" %} {% trans "Priority" %} {% trans "Level" %} {% trans "Safety" %}
{% if s.requirement_id %} {{ s.identifier }} {% else %} {{ s.identifier }} {% endif %} {{ s.title }} {{ s.status }} {{ s.priority|default:"—" }} {{ s.level_code|default:"—" }} {% if s.asil %}ASIL {{ s.asil }}{% endif %} {% if s.dal %} DAL {{ s.dal }}{% endif %} {% if s.iec62304_class %} IEC62304 {{ s.iec62304_class }}{% endif %} {% if not s.asil and not s.dal and not s.iec62304_class %}—{% endif %}
{% trans "No requirements were in scope when this baseline was frozen." %}

{% trans "Frozen test-case links" %} ({{ link_snapshots.count }})

{% if link_snapshots %} {% for l in link_snapshots %} {% endfor %}
{% trans "Requirement" %} {% trans "Case" %} {% trans "Link type" %} {% trans "Suspect" %}
{{ l.requirement_identifier }} TC-{{ l.case_id }} {{ l.link_type }} {% if l.suspect %}suspect{% else %}—{% endif %}
{% else %}
{% trans "No links were in scope when this baseline was frozen." %}
{% endif %}
{% endblock %}