This commit is contained in:
Ross
2024-10-28 17:05:08 +00:00
parent 76c96a32fe
commit eeb0483223
+8 -1
View File
@@ -11,11 +11,14 @@
{% for format in formats %}
<li>
<h5>Name: {{format}}</h5>
{% if format.specialties.all.count > 1 %}
<span class="subs">Also in (subspecialty): {% for sub in format.specialties.all %}
{% if sub != subspecialty %}
{{sub}},
{% endif %}
{% endfor %}
</span>
</span>{% endif %}
<br/>
<form>
<input type="hidden" name="question" value="{{ format.format }}">
@@ -74,8 +77,12 @@
color: darkgreen;
size: 0.8em;
float: right;
opacity: 0.5;
}
.subs:hover {
opacity: 1;
}
</style>
{% endblock css %}