Project

General

Profile

« Previous | Next » 

Revision 60911fd8

Added by Serghei Mihai about 10 years ago

personnes: notifications displayed on group holidays management

Closes #4129

View differences:

calebasse/static/css/style.css
1364 1364
	border-radius: 10px;
1365 1365
	-moz-border-radius: 10px;
1366 1366
	-webkit-border-radius: 10px;
1367
        font-weight: normal;
1367 1368
}
1368 1369

  
1369 1370
ul.messages li, ul.ajax_messages li {
......
1373 1374
	-moz-border-radius:7px;
1374 1375
	-webkit-border-radius:7px;
1375 1376
	border-radius:7px;
1376
	border: none;
1377
	border: none
1377 1378
}
1378 1379

  
1379 1380
input.hasDatepicker {
calebasse/templates/calebasse/base.html
43 43
        <a href="{% url 'logout' %}">Déconnexion</a>
44 44
        {% endblock %}
45 45
      </div>
46

  
47
      {% block messages %}
48
      {% if messages %}
49
      <ul class="messages">
50
        {% for message in messages %}
51
        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
52
        {% endfor %}
53
      </ul>
54
      <script type="text/javascript">
55
        $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
56
      </script>
57
      {% endif %}
58
      {% endblock %}
59

  
46 60
    </div>
47 61
    {% endif %}
48 62
    <div id="content">

Also available in: Unified diff