%inherit file="/base.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%namespace file="/library/common/common.mako" import="render_template_fields" /> <%def name="javascripts()"> ${parent.javascripts()} %def> %if library_dataset == library_dataset.library_dataset_dataset_association.library_dataset: 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 %if ( trans.user_is_admin() and cntrller=='library_admin' ) or trans.app.security_agent.can_modify_library_item( current_user_roles, library_dataset ):