{% load i18n %} {% load comments %} {% load extra_filters %} {% if review_mode %} {% endif %}

{% trans "Text" %}:

{{ test_case.text|markdown2html }}

{% trans "Attachment" %}:

{% trans "Component" %}:

    {% for component in components %}
  • {{ component.name }}
  • {% empty %}
  • {% trans "No component found" %}
  • {% endfor %}

{% trans "Tag" %}:

    {% for tag in tags %}
  • {{ tag }}
  • {% empty %}
  • {% trans "No tag found" %}
  • {% endfor %}

{% trans "bug" %}:

    {% for bug in test_case.get_bugs %}
  • {{ bug }} {% if bug.case_run_id %} - {% trans "From Run" %} {{ bug.case_run.run_id }} {% endif %}
  • {% empty %}
  • {% trans "No bug found" %}
  • {% endfor %}

{% trans "Notes" %}:

{{ test_case.notes|urlize|linebreaksbr }}

{% trans "Comments" %}:

    {% for comment in case_comments %}
  • #{{ forloop.counter }} {{ comment.user.username }} {{ comment.submit_date }}
    {{ comment.comment|urlize|linebreaksbr }} {% if review_mode and comment.user.pk == user.pk %}
    {% endif %}
  • {% endfor %}
{% get_comment_form for test_case as comment_form %} {{ comment_form.comment }} {{ comment_form.content_type }} {{ comment_form.object_pk }} {{ comment_form.timestamp }} {{ comment_form.security_hash }}