diff options
author | Jayaram Pai | 2014-05-04 16:49:50 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-05-04 16:49:50 +0530 |
commit | 8a3043c012ebb748d57f55c6c52bd4672ace4568 (patch) | |
tree | 4a5baf39e730d8214210c9342e486e665858ac5c /static/website/templates/index.html | |
parent | 0eded11fe3dc48f05adcf53a7f9a352b88ed24f4 (diff) | |
download | spoken-tutorial-forums-8a3043c012ebb748d57f55c6c52bd4672ace4568.tar.gz spoken-tutorial-forums-8a3043c012ebb748d57f55c6c52bd4672ace4568.tar.bz2 spoken-tutorial-forums-8a3043c012ebb748d57f55c6c52bd4672ace4568.zip |
added pretty urls to questions
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r-- | static/website/templates/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 5dd19e6..c12ca8b 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -2,6 +2,7 @@ {% load static %} {% load count_tags %} {% load notify %} +{% load helpers %} {% block content %} <div id="carousel-container"> @@ -99,7 +100,7 @@ <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> - <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> + <a href="{% url 'website:get_question' question.id %}{% prettify question.title %}">{{ question.title|truncatechars:40 }}</a> </span> </td> @@ -173,6 +174,7 @@ e.preventDefault(); }); }); + $('span').tooltip(); </script> <script src="{% static 'website/js/nice-bar.js' %}"></script> {% endblock %} |