##// END OF EJS Templates
Added initial query skipp when seting up the app....
Added initial query skipp when seting up the app. Added internal server error when deleting user using ajax permission form removed graph unneded code

File last commit:

r362:558eb7c5 rhodecode-0.0.0.8.0 default
r365:ec7b76d4 default
Show More
repos.html
55 lines | 1.8 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repositories administration')}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Repositories')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
<span>${h.link_to(u'ADD NEW REPO',h.url('new_repo'),class_="add_icon")}</span>
</li>
</ul>
</div>
<!-- end box / title -->
<div class="table">
<table class="table_disp">
<tr class="header">
<th class="left">${_('name')}</th>
<th class="left">${_('last revision')}</th>
<th class="left">${_('action')}</th>
</tr>
%for cnt,repo in enumerate(c.repos_list):
<tr class="parity${cnt%2}">
<td>
%if repo['repo'].dbrepo.private:
<img alt="${_('private')}" src="/images/icons/lock.png"/>
%else:
<img alt="${_('public')}" src="/images/icons/lock_open.png"/>
%endif
${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}</td>
<td>r${repo['rev']}:${repo['tip']}</td>
<td>
${h.form(url('repo', repo_name=repo['name']),method='delete')}
${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
${h.end_form()}
</td>
</tr>
%endfor
</table>
</div>
</div>
</%def>