Mercurial > sat_legacy_website
comparison 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 |
comparison
equal
deleted
inserted
replaced
46:a18800261cf6 | 47:3e460ca969d2 |
---|---|
34 ("screenshots", _(u"Screenshots & Videos")), | 34 ("screenshots", _(u"Screenshots & Videos")), |
35 ]))), | 35 ]))), |
36 ('principles', (_(u"Technical area"), | 36 ('principles', (_(u"Technical area"), |
37 OrderedDict([("principles", _(u"Principles")), | 37 OrderedDict([("principles", _(u"Principles")), |
38 ("specifications", _(u"Specifications")), | 38 ("specifications", _(u"Specifications")), |
39 ("screenshots_tech", _(u"Screenshots & Videos")), | |
40 ("downloads", _(u"Downloads")), | 39 ("downloads", _(u"Downloads")), |
41 ("developers", _(u"Developers corner")), | 40 ("developers", _(u"Developers corner")), |
42 ]))), | 41 ]))), |
43 ('community', (_(u"Community"), | 42 ('community', (_(u"Community"), |
44 OrderedDict([("community", _(u"Get in touch")), | 43 OrderedDict([("community", _(u"Get in touch")), |
78 if not category or category == "overview": | 77 if not category or category == "overview": |
79 context.update(utils.get_asso_finance_status()) | 78 context.update(utils.get_asso_finance_status()) |
80 return render_to_response('sat_website/overview.html', context) | 79 return render_to_response('sat_website/overview.html', context) |
81 elif category == "screenshots": | 80 elif category == "screenshots": |
82 context["screenshots"] = screenshots.screenshots | 81 context["screenshots"] = screenshots.screenshots |
83 elif category == "screenshots_tech": | 82 context["screenshots_tech"] = screenshots.screenshots_tech |
84 context["screenshots"] = screenshots.screenshots_tech | |
85 elif category == "social_contract": | 83 elif category == "social_contract": |
86 context["SOCIAL_CONTRACT"] = social_contract.get_social_contract() | 84 context["SOCIAL_CONTRACT"] = social_contract.get_social_contract() |
87 elif category == "downloads": | 85 elif category == "downloads": |
88 context["projects_infos"] = utils.get_projects_infos(PROJECTS_INFOS) | 86 context["projects_infos"] = utils.get_projects_infos(PROJECTS_INFOS) |
89 elif category == "adhesion": | 87 elif category == "adhesion": |