{% load markup %}

<div class="iteminfo">
  {% include "lists/_case_byline.html" with item=runcaseversion.caseversion %}

  <a href="{% url results_results rcv_id=runcaseversion.id %}" class="drill-link" title="test results related to {{ runcaseversion.caseversion.name }}">See related test results.</a>

  {% if runcaseversion.caseversion.description %}
    <p class="description">
        {{ runcaseversion.caseversion.description|markdown }}
    </p>
  {% endif %}

  <ol class="steps">
    {% for step in runcaseversion.caseversion.steps.all %}
    <li class="stepitem">
      {% if step.instruction %}
        <div class="instruction">{{ step.instruction|markdown }}</div>
      {% endif %}
      {% if step.expected %}
        <div class="outcome">{{ step.expected|markdown }}</div>
      {% endif %}
    </li>
    {% endfor %}
  </ol>
</div>

{% include "lists/_team.html" with team=runcaseversion.testers %}
{% include "lists/_environments.html" with environments=runcaseversion.environments %}
{% include "lists/_associated_links.html" with bugs=runcaseversion.bug_urls attachments=runcaseversion.caseversion.attachments %}

{% load markup %}

<div class="iteminfo">
  {% include "lists/_case_byline.html" with item=runcaseversion.caseversion %}

  <p class="description">
    {{ runcaseversion.caseversion.description }}
  </p>

  <a href="{% url results_results rcv_id=runcaseversion.id %}" class="drill-link" title="test results related to {{ runcaseversion.caseversion.name }}">See related test results.</a>

  {% if runcaseversion.caseversion.description %}
    <p class="description">
        {{ runcaseversion.caseversion.description|markdown }}
    </p>
  {% endif %}

  <ol class="steps">
    {% for step in runcaseversion.caseversion.steps.all %}
    <li class="stepitem">
      {% if step.instruction %}
        <div class="instruction">{{ step.instruction|markdown }}</div>
      {% endif %}
      {% if step.expected %}
        <div class="outcome">{{ step.expected|markdown }}</div>
      {% endif %}
    </li>
    {% endfor %}
  </ol>
</div>

{% include "lists/_team.html" with team=runcaseversion.testers %}
{% include "lists/_environments.html" with environments=runcaseversion.environments %}
{% include "lists/_associated_links.html" with bugs=runcaseversion.bug_urls attachments=runcaseversion.caseversion.attachments %}

Revert "case description was showing twice in results case detail. removed non-markdown one" This should have been done on the 1.0.X branch and then merged back to master.
Revert "case description was showing twice in results case detail.  removed non-markdown one"
This should have been done on the 1.0.X branch and then merged back to master.

This reverts commit 39bb482ef85ff612d9d0b9fad461e5bbd67afe3f.
