-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adhesion à l'association via helloasso #5468
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci pour ta PR ! Deux petites choses à modifier et c'est bon. :)
zds/settings/abstract_base/zds.py
Outdated
@@ -77,7 +77,8 @@ | |||
'fee': zds_config.get('association_fee', '20 €'), | |||
'email': '[email protected]', | |||
'email_ca': '[email protected]', | |||
'forum_ca_pk': 25 | |||
'forum_ca_pk': 25, | |||
'suscribe_link': 'https://www.helloasso.com/associations/zeste-de-savoir/adhesions/zeste-de-savoir-cotisations-2018' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correction du mot "subscribe" et utilisation de zds_config
pour pouvoir changer la configuration sans devoir attendre une nouvelle version de ZDS
'suscribe_link': 'https://www.helloasso.com/associations/zeste-de-savoir/adhesions/zeste-de-savoir-cotisations-2018' | |
'subscribe_link': zds_config.get('association_subscribe_link', 'https://www.helloasso.com/associations/zeste-de-savoir/adhesions/zeste-de-savoir-cotisations-2018') |
templates/footer.html
Outdated
{% if user.is_authenticated %} | ||
<li><a href="{% url "pages-assoc-subscribe" %}">{% trans "Adhérer" %}</a></li> | ||
{% endif %} | ||
<li><a href="{{ app.site.association.suscribe_link }}">{% trans "Adhérer à l'association" %}</a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<li><a href="{{ app.site.association.suscribe_link }}">{% trans "Adhérer à l'association" %}</a></li> | |
<li><a href="{{ app.site.association.subscribe_link }}">{% trans "Adhérer à l'association" %}</a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA : OK !
Cette PR permet d'utiliser le nouveau modèle d'inscription à l'association qui est Helloasso. On remplace l'ancienne mécanique par une redirection vers la page Helloasso d'adhesion.
Ce lien est biensur paramétrable dans le
settings
pour facilité la mise à jour chaque année de ce dernier.Contrôle qualité
make run-back