diff options
-rw-r--r-- | tbc/templates/tbc/book-details.html | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tbc/templates/tbc/book-details.html b/tbc/templates/tbc/book-details.html index 6f48cf7..8c39577 100644 --- a/tbc/templates/tbc/book-details.html +++ b/tbc/templates/tbc/book-details.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} {% load static %} -{% load hitcount_tags %} + {% block script %} <script> function redirectToIpynb(notebook) @@ -77,16 +77,8 @@ function redirectToIpynb(notebook) </tr> </table> -{% get_hit_count_js_variables for book as hitcount %} -{% get_hit_count for book as total_hits %} -<div class="row"> -<dl class="dl-horizontal"> -<dt>Total Hits:</dt> -<dd>{{ total_hits }}</dd> -</dl> + </div> -{%endblock%} -{% block hitcount_javascript %} -{% insert_hit_count_js_variables for book %} + {% endblock %} -</div> + |