{% extends theme("layout.html") %} {% import "utils.html" as utils %} {# map meta.action to font awesome classes #} {% set awesome_class = { 'REVERT': 'fa fa-undo', 'SAVE': 'fa fa-save', 'RENAME': 'fa fa-pencil-square-o', 'TRASH': 'fa fa-trash-o', } %} {% block head %} {{ super() }} {% endblock %} {% block content %}

{{ _("Global History") }}

{% for day, revs in history %} {% set latest_timestamp = revs[0].meta['mtime'] %}
{{ day }} {% if user.valid %} {{ _("Set bookmark") }} {% endif %}
{% for rev in revs|sort(attribute='fqname') %} {% set meta = rev.meta %} {% if bookmark_time -%} {%- endif %} {% endfor %}
{% if meta.name %} {{ meta.name|join(' | ') }} {% elif meta.summary %} {{ meta.summary }} {% else %} {{ rev.fqname|shorten_fqname }} {% endif %} {{ utils.editor_info(rev.meta) }} {{ meta.mtime|time_hh_mm }} {{ rev.meta['comment'] }}
{% endfor %} {% if bookmark_time %}
{{ bookmark_time|datetimeformat }} {{ _("Delete bookmark") }}
{% endif %}
{% endblock %}