@@ -233,6 +233,13 @@ Then make a copy of the template file (and customize it) at
Good to go :-)
+Settings
+========
+
+List of available settings in your `settings_local.py` file.
+- `MEMBER_MEMBERSHIP_INFO_URL`: Link to a page with information on how to become a member or pay the membership fee
More information
================
@@ -86,9 +86,11 @@
{% endif %}
</p>
- <a href="{{ membership_info_url }}" target="_blank" class="button small radius expand">
+ {% if membership_info_url %}
+ <a href="{{ membership_info_url }}" class="button small radius expand">
<i class="fa fa-heart"></i> Renouveler ma cotisation
</a>
+ {% endif %}
</div>
@@ -235,7 +235,7 @@ MEMBER_DEFAULT_COTISATION = 20
# Link to a page with information on how to become a member or pay the
# membership fee
-MEMBER_MEMBERSHIP_INFO_URL = '#'
+MEMBER_MEMBERSHIP_INFO_URL = ''
# Reset session if cookie older than 2h.
SESSION_COOKIE_AGE = 7200