Mercurial > sat_legacy_website
diff sat_website/views.py @ 77:13ebb548f234
use membership instead of adhesion in English (also rename the files)
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 09 Jun 2015 14:55:09 +0200 |
parents | d2ea666fb1dd |
children | 6250b65523c6 |
line wrap: on
line diff
--- a/sat_website/views.py Fri Jun 05 20:59:07 2015 +0200 +++ b/sat_website/views.py Tue Jun 09 14:55:09 2015 +0200 @@ -48,11 +48,11 @@ ]))), ]) -CATEGORIES_RIGHT = OrderedDict([("adhesion", _(u"Adhesion")), +CATEGORIES_RIGHT = OrderedDict([("membership", _(u"Membership")), ("social_contract", _(u"Social contract")), ]) -CATEGORIES_HIDDEN = ('adhesion_form', 'thank_you') +CATEGORIES_HIDDEN = ('membership_form', 'thank_you') PROJECTS_INFOS = {'sat': _(u'contains the backend, Primitivus and Jp'), 'sat_media': _(u'Images and other media needed to launch SàT'), @@ -87,9 +87,9 @@ context["SOCIAL_CONTRACT"] = social_contract.get_social_contract() elif category == "downloads": context["projects_infos"] = utils.get_projects_infos(PROJECTS_INFOS) - elif category in ("association", "adhesion"): + elif category in ("association", "membership"): context.update(utils.get_asso_urls()) - elif category == "adhesion_form": + elif category == "membership_form": if request.method == 'POST': form = forms.RegistrationForm(request.POST) form.process_submitted_data()