summaryrefslogtreecommitdiff
path: root/stapp
diff options
context:
space:
mode:
authorParth Buch2012-07-18 16:09:46 +0530
committerParth Buch2012-07-18 16:09:46 +0530
commit6c2fa5dc986fc3ea548f79e713eb2def052a585d (patch)
tree8515fe3df03cbf941da7e824ecbb05490a7ce096 /stapp
parentd7839d446da8d6f5b1b806987468b2c4c7c314a1 (diff)
downloadstproject-6c2fa5dc986fc3ea548f79e713eb2def052a585d.tar.gz
stproject-6c2fa5dc986fc3ea548f79e713eb2def052a585d.tar.bz2
stproject-6c2fa5dc986fc3ea548f79e713eb2def052a585d.zip
Changed image to thumbnail in module list
Diffstat (limited to 'stapp')
-rw-r--r--stapp/templates/video/home.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/stapp/templates/video/home.html b/stapp/templates/video/home.html
index b35ab12..0bd09bb 100644
--- a/stapp/templates/video/home.html
+++ b/stapp/templates/video/home.html
@@ -30,9 +30,7 @@ function myfunction(video,image)
<h2>{{module.name}}</h2>
{% for video in module.video_list.all %}
- <a href=javascript:myfunction("{{video.filename.url}}","{{video.image.url}}") > <img src='{{video.image.url}}' name='video' id='video{{forloop.counter}}' /></a>
-
- {{video.name}}
+ <a href=javascript:myfunction("{{video.filename.url}}","{{video.image.url}}") > <img src='{{video.thumbnail.url}}' name='video' id='video{{forloop.counter}}' />{{video.name}}</a>
{% endfor %}
</div>
</div>