This commit is contained in:
Ross
2021-03-01 08:13:59 +00:00
parent 307d83c015
commit dd33a728de
9 changed files with 43 additions and 14 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
{{category}}:
<ul>
{% for long in longs %}
<li><a href="{% url 'longs:long_detail' pk=long.pk %}">{{long}}
<li><a href="{% url 'longs:question_detail' pk=long.pk %}">{{long}}
[{{long.get_authors}}]</a></li>
{% endfor %}
+2 -2
View File
@@ -5,7 +5,7 @@ My Questions:
<ul>
{% for long in user_longs %}
<li{% if long.scrapped %} class='long-scrapped' {% endif %}><a
href="{% url 'longs:long_detail' pk=long.pk %}">{{long}}
href="{% url 'longs:question_detail' pk=long.pk %}">{{long}}
[{{long.get_authors}}]</a></li>
{% endfor %}
@@ -15,7 +15,7 @@ Other Questions:
<ul>
{% for long in other_longs %}
<li{% if long.scrapped %} class='long-scrapped' {% endif %}><a
href="{% url 'longs:long_detail' pk=long.pk %}">{{long}} [{{long.get_authors}}]</a></li>
href="{% url 'longs:question_detail' pk=long.pk %}">{{long}} [{{long.get_authors}}]</a></li>
{% endfor %}
</ul>
@@ -52,3 +52,5 @@
</ul>
</div>
<a href="{% url 'longs:question_json' pk=exam.pk %}">JSON</a>
<a href="{% url 'longs:question_json_recreate' pk=exam.pk %}">Refresh JSON cache</a>
@@ -4,7 +4,7 @@
{% if series.long %}
Associated case:
{% for long in series.long.all %}
<a href="{% url 'longs:long_detail' pk=long.pk %}">{{long}}</a>
<a href="{% url 'longs:question_detail' pk=long.pk %}">{{long}}</a>
{% endfor %}
{% else %}
This series is not associated with any cases.
@@ -15,7 +15,8 @@ This series is not associated with any cases.
<div>Author: {{ series.get_author_display }}</div>
<a href="{% url 'longs:long_series_order_dicom' pk=series.pk %}" title="orders dicom by slice location">Order dicoms by slice location</a>
<a href="{% url 'longs:long_series_order_upload_filename' pk=series.pk %}" title="orders dicom by slice location">Order by uploaded filename</a>
<a href="{% url 'longs:long_series_order_dicom_instance' pk=series.pk %}" title="orders dicom by instance number">Order dicoms by instance number</a>
<a href="{% url 'longs:long_series_order_upload_filename' pk=series.pk %}" title="orders dicom by uploaded filename">Order by uploaded filename</a>
{% for image in series.images.all %}
{{image.image.url}}, pos: {{image.position}}, {{image.upload_filename}}</br>