root/galaxy-central/templates/library/common/library_permissions.mako

リビジョン 2, 0.9 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1<%inherit file="/base.mako"/>
2<%namespace file="/message.mako" import="render_msg" />
3<%namespace file="/dataset/security_common.mako" import="render_permission_form" />
4
5<br/><br/>
6<ul class="manage-table-actions">
7    <li>
8        <a class="action-button" href="${h.url_for( controller='library_common', action='browse_library', cntrller=cntrller, id=trans.security.encode_id( library.id ), use_panels=use_panels, show_deleted=show_deleted )}"><span>Browse this data library</span></a>
9    </li>
10</ul>
11
12%if message:
13    ${render_msg( message, status )}
14%endif
15
16%if ( trans.user_is_admin() and cntrller == 'library_admin' ) or trans.app.security_agent.can_manage_library_item( current_user_roles, library ):
17    ${render_permission_form( library, library.name, h.url_for( controller='library_common', action='library_permissions', cntrller=cntrller, id=trans.security.encode_id( library.id ), show_deleted=show_deleted ), roles )}
18%endif
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。