summaryrefslogtreecommitdiff
path: root/design/templates/details
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-04-12 21:40:54 -0400
committerluxagraf <sng@luxagraf.net>2018-04-12 21:40:54 -0400
commit9ec405f41c41e35596d82b8dab1443adabd6ed76 (patch)
tree8c85f72089df91a9b3d4e94e639e6e67644d6dc7 /design/templates/details
parent58e2e73fef2db84a46f6d706a39997f2a6b9a9ba (diff)
fixed a bug in building books
Diffstat (limited to 'design/templates/details')
-rw-r--r--design/templates/details/entry.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index d5bd727..cec3b9c 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -73,7 +73,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t ==
{% endfor %}</ul>
</aside>{% endif %}
{%if object.books.all %}
- <aside id="recommended-reading">
+ <aside id="recommended-reading{%if object.field_notes.all and wildlife %} rr-clear{%endif%}" >
<h3>Recommended Reading</h3>
<ul>{% for obj in object.books.all %}
<li><a href="{% url 'books:detail' slug=obj.slug %}"><img src="{{obj.get_small_image_url}}" /></a></li>