Files
@ 39203995f2c4
Branch filter:
Location: kallithea/pylons_app/templates/admin/repos/repos.html - annotation
39203995f2c4
2.9 KiB
text/html
made action logger more global, to be used in other places to log other actions.
cleaned unused import in simpleHG, fixed little logging in hooks
cleaned unused import in simpleHG, fixed little logging in hooks
c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 20dc7a5eb748 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 3e55d9981c0e 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 64e1125fc479 64e1125fc479 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 558eb7c5028f 64e1125fc479 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 6fc59ac322ca 20dc7a5eb748 d303aacb3349 86a25ad59766 20dc7a5eb748 558eb7c5028f 558eb7c5028f 558eb7c5028f 558eb7c5028f 20dc7a5eb748 558eb7c5028f 558eb7c5028f c8162373f214 | ## -*- 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'))} » ${_('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 REPOSITORY',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">${_('Description')}</th>
<th class="left">${_('Last change')}</th>
<th class="left">${_('Tip')}</th>
<th class="left">${_('Contact')}</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']))}
%if repo['repo'].dbrepo.fork:
<a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
<img class="icon" alt="${_('public')}"
title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}"
src="/images/icons/arrow_divide.png"/></a>
%endif
</td>
<td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
<td>${h.age(repo['last_change'])}</td>
<td>
%if repo['rev']>=0:
${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),
h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
class_="tooltip",
tooltip_title=h.tooltip(repo['last_msg']))}
%else:
${_('No changesets yet')}
%endif
</td>
<td title="${repo['contact']}">${h.person(repo['contact'])}</td>
<td>
${h.form(url('repo', repo_name=repo['name']),method='delete')}
${h.submit('remove_%s' % repo['name'],'delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
${h.end_form()}
</td>
</tr>
%endfor
</table>
</div>
</div>
</%def>
|