%inherit file="/base.mako"/> <%namespace file="/root/history_common.mako" import="render_dataset" /> <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css( "history" )} %def> <%def name="javascripts()"> ${parent.javascripts()} %def> <%def name="render_item( entity, children )"> <% entity_name = entity.__class__.__name__ if entity_name == "HistoryDatasetAssociation": render_item_hda( entity, children ) elif entity_name == "Job": render_item_job( entity, children ) elif entity_name == "WorkflowInvocation": render_item_wf( entity, children ) %> %def> <%def name="render_item_hda( hda, children )"> ${render_dataset( hda, hda.hid )} %def> <%def name="render_item_job( job, children )">