{# Source code of the Ubuntu-it website # Copyright (C) 2018 Pietro Albini # # 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 render_actions(actions, own=False) %}
{% if not own %} {% endif %} {% if not own %} {% endif %} {% for action in actions.actions %} {% if not own %} {% endif %} {% if not own %} {% endif %} {% endfor %}
Nome utenteData e oraIndirizzo IP
{{ action.message|safe }}{{ action.nickname }}{{ action["date"]|format_timestamp }} {% if (g.auth_name == action.nickname and permission("auth.sessions.own")) or permission("auth.sessions.manage") %} {{ action.ip }} {% else %} {{ action.ip }} {% endif %}

{% if actions.current_page %} {% if actions.has_prev %} Pagina precedente - {% endif %} Pagina {{ actions.current_page }} {% if actions.has_next %} - Pagina successiva {% endif %} {% endif %}

{% endmacro %}