Mercurial > sat_legacy_website
diff templates/sat_website/base.html @ 71:a14845624e01
display a banner on top of all pages (but adhesion, adhesion_form and thank_you) to encourage people joining the association
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 27 May 2015 18:56:16 +0200 |
parents | d54f2f09a73a |
children | ac83544a7645 |
line wrap: on
line diff
--- a/templates/sat_website/base.html Wed May 27 14:50:51 2015 +0200 +++ b/templates/sat_website/base.html Wed May 27 18:56:16 2015 +0200 @@ -35,6 +35,21 @@ <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title> </head> <body role="document"> + {% if category != "adhesion" and category != "adhesion_form" and category != "thank_you" %} + <div class="alert alert-info banner"> + <div class="container"><div class="row"> + <div class="col-md-10"> + {% trans "We need your support to continue and move forward! Take the time to read about what we do. If you like it, please join the association." %} + {% include "sat_website/finance.html" %} + </div> + <div class="col-md-2"> + <a class="btn btn-default" href="adhesion.html" role="button">{% trans "Adhesion" %}</a> + </div> + </div></div> + </div> + {% else %} + <div class="banner"></div> + {% endif %} <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header" id="navbar-header">