summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12015-03-13 14:59:20 +0530
committerhardythe12015-03-13 14:59:20 +0530
commit4f11d251ce6922f3e6091b4d588b2a640d58ef5d (patch)
tree54a72e5f8c87535ea60ca4d84cc34bcbc2ebf0e3
parent5b91f30a4a14a03bd860a6ce2fe715841156f031 (diff)
downloadPython-TBC-Interface-4f11d251ce6922f3e6091b4d588b2a640d58ef5d.tar.gz
Python-TBC-Interface-4f11d251ce6922f3e6091b4d588b2a640d58ef5d.tar.bz2
Python-TBC-Interface-4f11d251ce6922f3e6091b4d588b2a640d58ef5d.zip
updated img source
-rw-r--r--tbc/templates/tbc/book-details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc/templates/tbc/book-details.html b/tbc/templates/tbc/book-details.html
index 1c9bab7..99c8ba6 100644
--- a/tbc/templates/tbc/book-details.html
+++ b/tbc/templates/tbc/book-details.html
@@ -20,9 +20,9 @@ function redirectToIpynb(notebook)
{% for image in images %}
<div class ="module-list">
{% if image.chapters_set.get.notebook %}
- <a href="{% url 'tbc:ConvertNotebook' image.chapters_set.get.notebook %}"><img src="{% static '{{ book.title }}' %}{{ image.image }}"></a>
+ <a href="{% url 'tbc:ConvertNotebook' image.chapters_set.get.notebook %}"><img src="{% static 'Python-Textbook-Companions/' %}{{ image.image }}"></a>
{% else %}
- <img src="{% static '{{ book.title }}' %}{{ image.image }}">
+ <img src="{% static 'Python-Textbook-Companions/' %}{{ image.image }}">
{% endif %}
<center><p style="margin-top:30px;">{{ image.caption }}</p></center>
</div>