Mercurial > sat_legacy_website
diff sat_website/views.py @ 29:b45621706d83
use Bootstrap carousels to display images and videos galeries:
- one carousel for a 3x3 thumbnails grid
- a second one in a modal window to view bigger pictures when a thumbnail is clicked
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 21 Jan 2015 20:13:19 +0100 |
parents | eda4deefecd1 |
children | 73c6333fd124 |
line wrap: on
line diff
--- a/sat_website/views.py Wed Jan 21 20:08:26 2015 +0100 +++ b/sat_website/views.py Wed Jan 21 20:13:19 2015 +0100 @@ -71,10 +71,8 @@ return render_to_response('sat_website/overview.html', context) elif category == "screenshots": context["screenshots"] = screenshots.screenshots - context["screencasts"] = screenshots.screencasts elif category == "screenshots_tech": - context["screenshots"] = screenshots.screencasts - context["screencasts"] = screenshots.screencasts + context["screenshots"] = screenshots.screenshots_tech elif category == "social_contract": context["SOCIAL_CONTRACT"] = social_contract.get_social_contract()