{# Display a table showing an item's edit history, one row per revision. In first column, show ticket's summary, active item's name, or deleted item's ID. #} {% extends theme("show.html") %} {% import "utils.html" as utils with context %} {% set summary = history[0].get('summary', None) if history else None %} {% set heading = _("History of {fqname}").format(fqname=utils.item_moniker(item.meta, [fqname])) %} {% set first_itemid = history[0].itemid %} {% block content %} {%- if history %}
{{ _("Item Name") }} {{ _("Click to show history spanning item delete and recreate.") }}
{%- else %} {%- if fqname.namespace %} {%- set namespace = fqname.namespace + "/" %} {%- else %} {%- set namespace = "" %} {%- endif %}{{ _("Item Id") }} {{ _("Click to show history spanning item renames.") }}
{%- endif %} {%- endif %} {#- if history is long and displayed as several pages, create links to show next and/or prior pages #} {{ utils.page_links(page_num, pages, url) }} {{ utils.page_links(page_num, pages, url) }} {%- endif %} {%- endblock %}