comparison 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
comparison
equal deleted inserted replaced
70:d6bf5414c6c4 71:a14845624e01
33 <link rel="stylesheet" href="{% static "css/sat_website.css" %}"> 33 <link rel="stylesheet" href="{% static "css/sat_website.css" %}">
34 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}"> 34 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}">
35 <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title> 35 <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title>
36 </head> 36 </head>
37 <body role="document"> 37 <body role="document">
38 {% if category != "adhesion" and category != "adhesion_form" and category != "thank_you" %}
39 <div class="alert alert-info banner">
40 <div class="container"><div class="row">
41 <div class="col-md-10">
42 {% 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." %}
43 {% include "sat_website/finance.html" %}
44 </div>
45 <div class="col-md-2">
46 <a class="btn btn-default" href="adhesion.html" role="button">{% trans "Adhesion" %}</a>
47 </div>
48 </div></div>
49 </div>
50 {% else %}
51 <div class="banner"></div>
52 {% endif %}
38 <nav class="navbar navbar-inverse navbar-fixed-top"> 53 <nav class="navbar navbar-inverse navbar-fixed-top">
39 <div class="container"> 54 <div class="container">
40 <div class="navbar-header" id="navbar-header"> 55 <div class="navbar-header" id="navbar-header">
41 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> 56 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
42 <span class="sr-only">Toggle navigation</span> 57 <span class="sr-only">Toggle navigation</span>