<%inherit file="/display_base.mako"/> <%namespace file="/root/history_common.mako" import="render_dataset" /> ## Set vars so that there's no need to change the code below. <% history = published_item datasets = published_item_data %> <%def name="javascripts()"> ${parent.javascripts()} <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css( "history" )} <%def name="render_item_links( history )"> Import history <%def name="render_item( history, datasets )"> %if history.deleted:
${_('You are currently viewing a deleted history!')}

%endif %if not datasets:
%else: ## Render requested datasets, ordered from newest to oldest, including annotations. %for data in datasets: %if data.visible: %endif %endfor
DatasetAnnotation
${render_dataset( data, data.hid, show_deleted_on_refresh = show_deleted, for_editing=False )}
%if hasattr( data, "annotation") and data.annotation is not None: ${data.annotation} %endif