Mercurial > sat_legacy_website
diff sat_website/views.py @ 55:a1e457ac6871
split adhesion.html between adhesion.html and association.html
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 05 May 2015 15:02:50 +0200 |
parents | cc099372a9ac |
children | 01e9c646999f |
line wrap: on
line diff
--- a/sat_website/views.py Tue May 05 11:03:18 2015 +0200 +++ b/sat_website/views.py Tue May 05 15:02:50 2015 +0200 @@ -41,7 +41,7 @@ ]))), ('community', (_(u"Community"), OrderedDict([("community", _(u"Get in touch")), - #("association", _(u"Association")), + ("association", _(u"Association")), ("links", _(u"Links")), ]))), ]) @@ -84,7 +84,7 @@ context["SOCIAL_CONTRACT"] = social_contract.get_social_contract() elif category == "downloads": context["projects_infos"] = utils.get_projects_infos(PROJECTS_INFOS) - elif category == "adhesion": + elif category in ("association", "adhesion"): context.update(utils.get_asso_finance_status()) context.update(utils.get_asso_urls()) elif category == "adhesion_form": @@ -95,7 +95,7 @@ category = 'thank_you' else: form = forms.RegistrationForm(initial={'subscription_amount': 10, - 'payment_method': 'card'}) + 'payment_method': 'transfer'}) context['form'] = form context.update(utils.get_asso_urls())