##// END OF EJS Templates
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached...
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached to db repository instance, and then fetched from cache. Also made all current test work.

File last commit:

r1218:3d9da789 default
r1366:9c0f5d55 beta
Show More
repos.html
88 lines | 3.5 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Repositories administration')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%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>
fixed bug when autocomplete could not display names (hidden by div)...
r581 <span>${h.link_to(u'ADD NEW REPOSITORY',h.url('new_repo'))}</span>
renamed project to rhodecode
r547 </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>
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 ## TYPE OF REPO
another major codes rewrite:...
r1045 %if repo['dbrepo']['repo_type'] =='hg':
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
another major codes rewrite:...
r1045 %elif repo['dbrepo']['repo_type'] =='git':
changed all urls for IMAGES files to use pylons url function
r1051 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 %else:
%endif
## PRIVATE/PUBLIC REPO
another major codes rewrite:...
r1045 %if repo['dbrepo']['private']:
changed all urls for IMAGES files to use pylons url function
r1051 <img alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/>
renamed project to rhodecode
r547 %else:
changed all urls for IMAGES files to use pylons url function
r1051 <img alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/>
renamed project to rhodecode
r547 %endif
${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}
another major codes rewrite:...
r1045 %if repo['dbrepo_fork']:
<a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
renamed project to rhodecode
r547 <img class="icon" alt="${_('public')}"
another major codes rewrite:...
r1045 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}"
changed all urls for IMAGES files to use pylons url function
r1051 src="${h.url("/images/icons/arrow_divide.png")}"/></a>
renamed project to rhodecode
r547 %endif
</td>
<td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
<td>${h.age(repo['last_change'])}</td>
<td>
%if repo['rev']>=0:
fixed html templates, fixed overal rhodecode width to 1024pixels...
r663 ${h.link_to('r%s:%s' % (repo['rev'],h.short_id(repo['tip'])),
renamed project to rhodecode
r547 h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
class_="tooltip",
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 title=h.tooltip(repo['last_msg']))}
renamed project to rhodecode
r547 %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>