migrate categories to a multiselect

This commit is contained in:
Ross
2024-02-26 11:45:39 +00:00
parent df632319f5
commit fdc7c6150b
5 changed files with 54 additions and 5 deletions
+5 -1
View File
@@ -28,7 +28,7 @@
<table>
<tr><th></th><th>Content Type</th><th>Name</th><th>Assessed<br/> By</th></tr>
{% for item in items %}
<tr class="{{item.content_type}} {% if item.completed_radiology %} completed-radiology{% endif %}{% if item.completed_oncology %} completed-oncology{% endif %}">
<tr class="{{item.content_type}} {% if item.completed_radiology %} completed-radiology{% endif %}{% if item.completed_oncology %} completed-oncology{% endif %}{% if item.needs_review %} review{% endif %}">
<td class="{{item.specialty}}" title="{{item.specialty}}">
{{forloop.counter}}:
</td>
@@ -57,6 +57,10 @@
{% block css %}
<style type="text/css">
.review::after {
content: '(R)';
color: orange;
}
.completed-radiology::after {
content: '✓';
color: green;
+9 -4
View File
@@ -5,12 +5,17 @@
{% include "rcr/item_rcr_details.html" %}
<p>Radiology Category: {{object.radiology_category}}</p>
<p>Radiology Categories:
{% for category in object.radiology_categories.all %}
{{category}}
{% endfor %}
</p>
<p>Oncology Category: {{object.oncology_category}}</p>
<p>
Level(s):
Level(s):
{% for level in object.level.all %}
{{level}},
{{level}},
{% endfor %}
</p>
@@ -32,9 +37,9 @@
</p>
<p>
Assessor(s):
Assessor(s):
{% for ass in object.assessed_by.all %}
{{ass}},
{{ass}},
{% endfor %}
</p>
<p>