{% extends "base.html" %} {% load i18n static requirements_extras %} {% block title %}{{ requirement.identifier }} — {{ requirement.title }}{% endblock %} {% block contents %}
{{ requirement.identifier }}
{{ requirement.title }}
{% trans "Edit" %}
{% if perms.tcms_requirements.approve_requirement %}
{% trans "Sign as approved" %}
{% endif %}
{% trans "Link test case" %}
| {% trans "Case" %} | {% trans "Link type" %} | {% trans "Notes" %} | {% trans "Suspect" %} | {% trans "Added" %} | |
|---|---|---|---|---|---|
| {{ link.case_id|case_identifier }} | {% link_type_icon link.link_type %} | {{ link.coverage_notes|default:"—" }} | {% suspect_badge link.suspect %} | {{ link.created_at|date:"Y-m-d H:i" }} | {% if link.suspect %} {% endif %} |
{% trans "No linked test cases yet." %}
{% endif %}{{ child.identifier }} — {{ child.title }}
{% status_badge child.status %}
{% trans "Each row is a tamper-evident attestation. Hash is SHA-256 over the requirement state at signing time." %}
| {% trans "When" %} | {% trans "Signed by" %} | {% trans "Hash" %} | {% trans "Comment" %} |
|---|---|---|---|
| {{ sig.signed_at|date:"Y-m-d H:i T" }} | {% if sig.signed_by %}{{ sig.signed_by.get_full_name|default:sig.signed_by.username }}{% else %}—{% endif %} | {{ sig.signature_hash|slice:":12" }}… |
{{ sig.comment|default:"—" }} |
| {% trans "When" %} | {% trans "Who" %} | {% trans "Action" %} | {% trans "Status" %} |
|---|---|---|---|
| {{ h.history_date|date:"Y-m-d H:i" }} | {{ h.history_user.username|default:"system" }} | {{ h.get_history_type_display }} | {% status_badge h.status %} |