<p class="break-word-wrap"><strong>File:</strong> {{ data_file.file.original_filename }}</p>
<p><strong>Size:</strong> {{ data_file.file_size_fmt }}</p>

{% if data_file.description %}
  <p><strong>Description:</strong></p>
  <div class="description">{{ data_file.description|linebreaks }}</div>
{% endif %}

{% if data_file.tags.count > 0 %}
  <p>
    <strong>Tags:</strong>
    <ul class="tag-list">
      {% for tag in data_file.tags.all|dictsort:"name" %}
        <li class="tag-list-item"><span class="label label-primary">{{ tag.name }}</span></li>
      {% endfor %}
    </ul>
  </p>
{% endif %}

<p class="break-word-wrap"><strong>File:</strong> {{ data_file.file.original_filename }}</p>
<p><strong>Size:</strong> {{ data_file.file_size_fmt }}</p>

{% if data_file.description %}
  <p><strong>Description:</strong></p>
  <div class="description">{{ data_file.description|linebreaks }}</div>
{% endif %}

{% if data_file.tags.count > 0 %}
  <p>
    <strong>Tags:</strong>
    <ul class="tag-list">
      {% for tag in data_file.tags.all|dictsort:"name" %}
        <li class="tag-list-item"><span class="label label-primary">{{ tag.name }}</span></li>
      {% endfor %}
    </ul>
  </p>
{% endif %}

{% if data_file.datafileset_set.all.count > 0 %}
  <p>
    <strong>Data File Sets:</strong>
    <ul class="tag-list">
      {% for datafileset in data_file.datafileset_set.all %}
        <li class="tag-list-item">
          <a href="{% url 'cms_lab_data:data_file_set_detail' datafileset.slug %}" class="label label-info">
            {{ datafileset.name }}
          </a>
        </li>
      {% endfor %}
    </ul>
  </p>
{% endif %}

Add list of associated Data File Sets to Data File summary
Add list of associated Data File Sets to Data File summary
