Update subspecialty and pathological process display to use 'None' badge for empty states
This commit is contained in:
@@ -233,7 +233,7 @@
|
|||||||
<span class="badge bg-secondary ms-1">{{ sub.get_link|safe }}</span>
|
<span class="badge bg-secondary ms-1">{{ sub.get_link|safe }}</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-muted me-2">No subspecialty</span>
|
<span class="badge bg-secondary ms-1 text-muted">None</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
{% if can_edit %}
|
{% if can_edit %}
|
||||||
@@ -252,7 +252,7 @@
|
|||||||
<span class="badge bg-secondary ms-1">{{ p.get_link|safe }}</span>
|
<span class="badge bg-secondary ms-1">{{ p.get_link|safe }}</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-muted me-2">No pathological process</span>
|
<span class="badge bg-secondary ms-1 text-muted">None</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user