{% 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 %} {% set meta = rev.meta %} {% endfor %}
{{ meta.mtime|timeformat }} {% if meta.name %} {{ meta.name|join(' | ') }} {% elif meta.summary %} {{ meta.summary }} {% else %} {{ rev.fqname|shorten_fqname }} {% endif %}
{% endfor %} {% if bookmark_time %}

{{ bookmark_time|datetimeformat }}

{{ _("Delete bookmark") }}
{% endif %}
{% endblock %}