.
This commit is contained in:
@@ -11,11 +11,14 @@
|
|||||||
{% for format in formats %}
|
{% for format in formats %}
|
||||||
<li>
|
<li>
|
||||||
<h5>Name: {{format}}</h5>
|
<h5>Name: {{format}}</h5>
|
||||||
|
{% if format.specialties.all.count > 1 %}
|
||||||
<span class="subs">Also in (subspecialty): {% for sub in format.specialties.all %}
|
<span class="subs">Also in (subspecialty): {% for sub in format.specialties.all %}
|
||||||
|
{% if sub != subspecialty %}
|
||||||
{{sub}},
|
{{sub}},
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>{% endif %}
|
||||||
<br/>
|
<br/>
|
||||||
<form>
|
<form>
|
||||||
<input type="hidden" name="question" value="{{ format.format }}">
|
<input type="hidden" name="question" value="{{ format.format }}">
|
||||||
@@ -74,8 +77,12 @@
|
|||||||
color: darkgreen;
|
color: darkgreen;
|
||||||
size: 0.8em;
|
size: 0.8em;
|
||||||
float: right;
|
float: right;
|
||||||
|
opacity: 0.5;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.subs:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{% endblock css %}
|
{% endblock css %}
|
||||||
|
|||||||
Reference in New Issue
Block a user