diff options
Diffstat (limited to 'tbc/templates')
-rwxr-xr-x | tbc/templates/base.html | 3 | ||||
-rw-r--r-- | tbc/templates/tbc/book-details.html | 2 | ||||
-rw-r--r-- | tbc/templates/tbc/book-review-details.html | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html index a317de5..82855ca 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -106,6 +106,9 @@ {% if update_book %} <p>Book has been updated successfully </p> {% endif %} + {% if not_found %} + <p>There is no submission to be updated !</p> + {% endif %} <div class="row-fluid"> <center><h3>Latest Books</h3></center> {% for item in items %} diff --git a/tbc/templates/tbc/book-details.html b/tbc/templates/tbc/book-details.html index 5c141b1..7b76572 100644 --- a/tbc/templates/tbc/book-details.html +++ b/tbc/templates/tbc/book-details.html @@ -14,7 +14,7 @@ <hr> <ol> {% for chapter in chapters %} - <li><a href="https://nbviewer.ipython.org/url/dev.fossee.in{% static 'uploads/' %}{{ chapter.notebook }}">{{ chapter.name }}</a> + <li><a href="http://nbviewer.ipython.org/url/tbc-python.fossee.in/{% static 'uploads/' %}{{ chapter.notebook }}">{{ chapter.name }}</a> {% endfor %} </ol> <hr> diff --git a/tbc/templates/tbc/book-review-details.html b/tbc/templates/tbc/book-review-details.html index 5ea3f5b..6c4fbd0 100644 --- a/tbc/templates/tbc/book-review-details.html +++ b/tbc/templates/tbc/book-review-details.html @@ -13,7 +13,7 @@ <hr> <ol> {% for chapter in chapters %} - <li><a href="https://nbviewer.ipython.org/url/dev.fossee.in{% static 'uploads/' %}{{ chapter.notebook }}">{{ chapter.name }}</a> + <li><a href="http://nbviewer.ipython.org/url/tbc-python.fossee.in{% static 'uploads/' %}{{ chapter.notebook }}">{{ chapter.name }}</a> {% endfor %} </ol> <hr> |