Project

General

Profile

« Previous | Next » 

Revision 99ea2836

Added by Serghei Mihai over 10 years ago

messages declared in the parent template and removed from children templates

Closes #4137

View differences:

calebasse/agenda/templates/agenda/index.html
51 51
{% endblock %}
52 52

  
53 53
{% block agenda-content %}
54
<ul class="messages">
55
    {% for message in messages %}
56
    <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
57
    {% endfor %}
58
</ul>
59
<script type="text/javascript">
60
    $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
61
</script>
62 54
   <table>
63 55
    <tbody>
64 56
    <tr>

Also available in: Unified diff