Mercurial > sat_legacy_website
diff sat_website/views.py @ 47:3e460ca969d2
delete screenshots_tech.html, display all screenshots in the same page using sections
author | souliane <souliane@mailoo.org> |
---|---|
date | Sun, 03 May 2015 22:36:27 +0200 |
parents | dfe7139dae0a |
children | cc099372a9ac |
line wrap: on
line diff
--- a/sat_website/views.py Wed Apr 29 13:04:15 2015 +0200 +++ b/sat_website/views.py Sun May 03 22:36:27 2015 +0200 @@ -36,7 +36,6 @@ ('principles', (_(u"Technical area"), OrderedDict([("principles", _(u"Principles")), ("specifications", _(u"Specifications")), - ("screenshots_tech", _(u"Screenshots & Videos")), ("downloads", _(u"Downloads")), ("developers", _(u"Developers corner")), ]))), @@ -80,8 +79,7 @@ return render_to_response('sat_website/overview.html', context) elif category == "screenshots": context["screenshots"] = screenshots.screenshots - elif category == "screenshots_tech": - context["screenshots"] = screenshots.screenshots_tech + context["screenshots_tech"] = screenshots.screenshots_tech elif category == "social_contract": context["SOCIAL_CONTRACT"] = social_contract.get_social_contract() elif category == "downloads":