Files
@ b27d32cb3157
Branch filter:
Location: kallithea/pylons_app/templates/admin/permissions/permissions.html - annotation
b27d32cb3157
1.2 KiB
text/html
Implemented hooks system,
Added repo size hook, and active flag on ui settings in the database to able to toggle them.
Added repo size hook, and active flag on ui settings in the database to able to toggle them.
d982ed8e32d8 d982ed8e32d8 d982ed8e32d8 d982ed8e32d8 d982ed8e32d8 d982ed8e32d8 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f c8fc57b92a60 d982ed8e32d8 c8fc57b92a60 d982ed8e32d8 d982ed8e32d8 d982ed8e32d8 c8fc57b92a60 d982ed8e32d8 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f d982ed8e32d8 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 c8fc57b92a60 558eb7c5028f d982ed8e32d8 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Permissions administration')}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${_('Permissions')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<h3>${_('Repositories permissions')}</h3>
${h.form(url('permission', id='default_perm'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="default_perm">${_('default repository permission')}:</label>
</div>
<div class="select">
${h.select('default_perm','repository.read',['repository.none','repository.read','repository.write','repository.admin'])}
</div>
</div>
<div class="buttons">
${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
</div>
</%def>
|