{# Libervia: a Salut à Toi frontend Copyright (C) 2011, 2012, 2013, 2014, 2015 Jérôme Poisson Copyright (C) 2013, 2014, 2015 Adrien Cossa This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . #} {% macro message(entry) -%}
{% if entry.type == "comment" %}
{% else %}
{% endif %} {% if entry.message_title %}

{{entry.title}}

{% endif %} {{entry.content}}
{% if entry.type == "main_item" %} {% endif %}
{% if entry.all_comments_link %} {{ link(entry.all_comments_link) }} {% endif %} {% for comment in entry.comments %} {{ message(comment) }} {% endfor %} {%- endmacro %} {% macro link(entry) -%} {{entry.text}} {%- endmacro %} {% macro image(entry) -%} {{entry.alt}} {%- endmacro %} {{title}}
{{ link(navlinks.later_message) }} {{ link(navlinks.later_messages) }} {{ link(navlinks.older_message) }}
{% for entry in messages %} {{ message(entry) }} {% endfor %}