summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrupti Rajesh Kini2017-03-03 15:38:00 +0530
committerGitHub2017-03-03 15:38:00 +0530
commitab0d8a8cec9a8ad3a604301316c2416bbc762bc2 (patch)
tree4f8dc4865f216f44e41ec57202de63b7b0b21b54
parentce0c1a3409e2e4680cbd3d8fe0c912f54b3bfa1f (diff)
downloadPython-TBC-Interface-ab0d8a8cec9a8ad3a604301316c2416bbc762bc2.tar.gz
Python-TBC-Interface-ab0d8a8cec9a8ad3a604301316c2416bbc762bc2.tar.bz2
Python-TBC-Interface-ab0d8a8cec9a8ad3a604301316c2416bbc762bc2.zip
updated tooltip for screenshots
-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 9814434..7d34db8 100644
--- a/tbc/templates/tbc/book-details.html
+++ b/tbc/templates/tbc/book-details.html
@@ -38,11 +38,11 @@ function redirectToIpynb(notebook)
{% for image in images %}
<span class="showonhover">
<div class ="module-list">
- {% if image.chapters_set.get.notebook %}
- <a href="{% url 'tbc:convert_notebook' image.chapters_set.get.notebook %}"><img src="{% static 'Python-Textbook-Companions/' %}{{ image.image }}"></a></span>
<span class="hovertext">
Click to view -{{ image.chapters_set.get.name }}
</span>
+ {% if image.chapters_set.get.notebook %}
+ <a href="{% url 'tbc:convert_notebook' image.chapters_set.get.notebook %}"><img src="{% static 'Python-Textbook-Companions/' %}{{ image.image }}"></a></span>
{% else %}
<img src="{% static 'Python-Textbook-Companions/' %}{{ image.image }}">
{% endif %}