<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <% from galaxy.web.framework.helpers import time_ago from galaxy.web.controllers.library_common import get_containing_library_from_library_dataset %> %if message: ${render_msg( message, 'done' )} %endif

Dataset Information

${time_ago( dataset.create_time )}
${time_ago( dataset.update_time )}
${dataset.get_size( nice_size=True )}
${dataset.state}
%if associated_hdas:

Active (undeleted) history items that use this library dataset's disk file

%for hda in associated_hdas: %endfor
History History Item Last Updated User
%if hda.history: ${hda.history.get_display_name()} %else: no history %endif ${hda.get_display_name()} ${time_ago( hda.update_time )} %if hda.history and hda.history.user: ${hda.history.user.email} %else: anonymous %endif

%endif %if associated_lddas:

Other active (undeleted) library datasets that use this library dataset's disk file

%for ldda in associated_lddas: <% containing_library = get_containing_library_from_library_dataset( trans, ldda.library_dataset ) %> %endfor
Library Folder Library Dataset Last Updated Uploaded By
<% if containing_library: library_display_name = containing_library.get_display_name() else: library_display_name = 'no library' %> ${library_display_name} <% library_dataset = ldda.library_dataset folder = library_dataset.folder folder_display_name = folder.get_display_name() if folder_display_name == library_display_name: folder_display_name = 'library root' %> ${folder_display_name} ${ldda.get_display_name()} ${time_ago( ldda.update_time )} %if ldda.user: ${ldda.user.email} %else: anonymous %endif

%endif