diff options
author | hardythe1 | 2014-02-13 15:35:50 +0530 |
---|---|---|
committer | hardythe1 | 2014-02-13 15:35:50 +0530 |
commit | 7f07013f943b8a55582762881be7927782034916 (patch) | |
tree | 3dbf186ee8e1eb4098bb6ef0fa03df53351dbca4 | |
parent | 611fab4acd9ad4d8f88d13c5dbceee0d5acb7a40 (diff) | |
download | Python-TBC-Interface-7f07013f943b8a55582762881be7927782034916.tar.gz Python-TBC-Interface-7f07013f943b8a55582762881be7927782034916.tar.bz2 Python-TBC-Interface-7f07013f943b8a55582762881be7927782034916.zip |
"adding download link for each chapter"wq
-rw-r--r-- | tbc/templates/tbc/book-details.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tbc/templates/tbc/book-details.html b/tbc/templates/tbc/book-details.html index 38ec6e7..36c3936 100644 --- a/tbc/templates/tbc/book-details.html +++ b/tbc/templates/tbc/book-details.html @@ -7,7 +7,7 @@ {% for image in images %} <div class ="module-list"> <img src="{% static 'uploads/' %}{{ image.image }}"> - <center><p>{{ image.caption }}</p></center> + <center><p style="margin-top:30px;">{{ image.caption }}</p></center> </div> {% endfor %} </div> @@ -24,6 +24,9 @@ <td> <a href="http://nbviewer.ipython.org/url/tbc-python.fossee.in{% static 'uploads/' %}{{ chapter.notebook }}">{{ chapter.name }}</a> </td> + <td> + <a href="{% static 'uploads/' %}{{ chapter.notebook }}">Download</a> + </td> </tr> {% endfor %} </table> |