diff options
author | Sanmugasundaram K | 2015-01-08 12:32:18 +0530 |
---|---|---|
committer | Sanmugasundaram K | 2015-01-08 12:32:18 +0530 |
commit | 293af4fcc716fba56f26f3490443b6ba3ff2c440 (patch) | |
tree | 20e9ac8859bdd39ef741c9b28960e04727db9056 /static/website/templates/index.html | |
parent | 2ae49074f030b61088317526b023b9e21124dbfc (diff) | |
download | FOSSEE-Forum-293af4fcc716fba56f26f3490443b6ba3ff2c440.tar.gz FOSSEE-Forum-293af4fcc716fba56f26f3490443b6ba3ff2c440.tar.bz2 FOSSEE-Forum-293af4fcc716fba56f26f3490443b6ba3ff2c440.zip |
all tables linked with new website
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r-- | static/website/templates/index.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 7f4a497..63890fd 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -10,7 +10,13 @@ {% for category in categories %} <div> <div class="thumbnail"> - <img src="{% static 'website/images/' %}{{ category }}.jpg"> + {% with file=category|get_category_image %} + {% if file %} + <img src="{% static category|get_category_image %}"> + {% else %} + <div class="category-title">{{category}}</div> + {% endif %} + {% endwith %} <div class="caption"> <small class="category"> {{ category }} |