<%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%namespace file="/library/common/common.mako" import="render_template_fields" /> <% from galaxy import util %> <%def name="javascripts()"> ${parent.javascripts()} ${h.js("jquery.autocomplete", "autocomplete_tagging" )} <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css( "autocomplete_tagging" )} %if ldda == ldda.library_dataset.library_dataset_dataset_association: This is the latest version of this library dataset %else: This is an expired version of this library dataset %endif

%if message: ${render_msg( message, status )} %endif <%def name="datatype( ldda, file_formats )"> %if ( trans.user_is_admin() and cntrller=='library_admin' ) or trans.app.security_agent.can_modify_library_item( current_user_roles, ldda.library_dataset ):
Edit attributes of ${ldda.name}
%if ldda.message: %else: %endif
This information will be displayed in the library browser
%for name, spec in ldda.metadata.spec.items(): %if spec.visible:
${ldda.metadata.get_html_by_name( name, trans=trans )}
%endif %endfor
This will inspect the dataset and attempt to correct the above column values if they are not accurate.

Change data type
%if ldda.datatype.allow_datatype_change:
${datatype( ldda, file_formats )}
This will change the datatype of the existing dataset but not modify its contents. Use this if Galaxy has incorrectly guessed the type of your dataset.
%else:
${_('Changing the datatype of this dataset is not allowed.')}
%endif

%else:

View information about ${ldda.name}
${ldda.name}
${ldda.info}
${ldda.ext}
%for name, spec in ldda.metadata.spec.items(): %if spec.visible:
${ldda.metadata.get( name )}
%endif %endfor
%endif %if widgets: ${render_template_fields( cntrller=cntrller, item_type='ldda', library_id=library_id, widgets=widgets, widget_fields_have_contents=widget_fields_have_contents, info_association=info_association, inherited=inherited, folder_id=trans.security.encode_id( ldda.library_dataset.folder.id ), ldda_id=trans.security.encode_id( ldda.id ) )} %endif