Files
@ d303aacb3349
Branch filter:
Location: kallithea/pylons_app/templates/admin/repos/repo_add.html - annotation
d303aacb3349
1.1 KiB
text/html
repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes.
Added permission fetching for each request in AuthUser instance
Added permission fetching for each request in AuthUser instance
fec7d0707e72 fec7d0707e72 fec7d0707e72 fec7d0707e72 c8162373f214 fec7d0707e72 fec7d0707e72 fec7d0707e72 c8162373f214 d982ed8e32d8 fec7d0707e72 fec7d0707e72 11e8eb5a92e3 c8162373f214 fec7d0707e72 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 0e5455fda8fd 0e5455fda8fd c8162373f214 c8162373f214 c8162373f214 c8162373f214 0e5455fda8fd c8162373f214 c8162373f214 c8162373f214 d303aacb3349 0e5455fda8fd c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 c8162373f214 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repositories administration')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
${_('Repos')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
${self.submenu('repos')}
</%def>
<%def name="main()">
<div>
<h2>${_('Repositories')} - ${_('add new')}</h2>
${h.form(url('repos'))}
<table>
<tr>
<td>${_('Name')}</td>
<td>${h.text('repo_name',c.new_repo)}</td>
<td>${self.get_form_error('repo_name')}</td>
</tr>
<tr>
<td>${_('Description')}</td>
<td>${h.textarea('description',cols=23,rows=5)}</td>
<td>${self.get_form_error('description')}</td>
</tr>
<tr>
<td>${_('Private')}</td>
<td>${h.checkbox('private',value="True")}</td>
<td>${self.get_form_error('private')}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('add','add')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>
|