##// END OF EJS Templates
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups

File last commit:

r265:0e5455fd default
r265:0e5455fd default
Show More
summary.html
131 lines | 4.1 KiB | text/html | HtmlLexer
moved summary page to its own folder
r183 <%inherit file="/base/base.html"/>
<%!
from pylons_app.lib import filters
%>
<%def name="title()">
${_('Repository managment')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Home',h.url('/'))}
/
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
/
${_('summary')}
</%def>
<%def name="page_nav()">
removed search field from templates
r189 ${self.menu('summary')}
moved summary page to its own folder
r183 </%def>
html + css changes, added icons and etc.
r219
<%def name="js()">
<script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
<script type="text/javascript">
var E = YAHOO.util.Event;
var D = YAHOO.util.Dom;
E.onDOMReady(function(e){
id = 'clone_url';
E.addListener(id,'click',function(e){
D.get('clone_url').select();
})
})
</script>
</%def>
moved summary page to its own folder
r183 <%def name="main()">
<h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2>
<dl class="overview">
<dt>${_('name')}</dt>
<dd>${c.repo_info.name}</dd>
<dt>${_('description')}</dt>
<dd>${c.repo_info.description}</dd>
<dt>${_('contact')}</dt>
<dd>${c.repo_info.contact}</dd>
<dt>${_('last change')}</dt>
templating update, improved look & feel, version bump
r225 <dd>${c.repo_info.last_change|n,filters.age} - ${c.repo_info.last_change|n,filters.rfc822date}</dd>
html + css changes, added icons and etc.
r219 <dt>${_('clone url')}</dt>
small fixes
r240 <dd><input type="text" id="clone_url" readonly="readonly" value="hg clone ${c.clone_repo_url}" size="70"/></dd>
Css changes, added icon pack.
r210 <dt>${_('download')}</dt>
moved summary page to its own folder
r183 <dd>
%for cnt,archive in enumerate(c.repo_info._get_archives()):
%if cnt >=1:
|
%endif
${h.link_to(c.repo_info.name+'.'+archive['type'],
h.url('files_archive_home',repo_name=c.repo_info.name,
Css changes, added icon pack.
r210 revision='tip',fileformat=archive['extension']),class_="archive_logo")}
moved summary page to its own folder
r183 %endfor
</dd>
templating update, improved look & feel, version bump
r225 <dt>${_('feeds')}</dt>
<dd>
${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.repo_info.name),class_='rss_logo')}
${h.link_to(_('Atom'),h.url('atom_feed_home',repo_name=c.repo_info.name),class_='atom_logo')}
</dd>
moved summary page to its own folder
r183 </dl>
<h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,cs in enumerate(c.repo_changesets):
<tr class="parity${cnt%2}">
<td>${cs._ctx.date()|n,filters.age}</td>
<td>${cs.author|n,filters.person}</td>
<td>r${cs.revision}</td>
<td>
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
r265 ${h.link_to(h.truncate(cs.message,60),
moved summary page to its own folder
r183 h.url('changeset_home',repo_name=c.repo_name,revision=cs._short),
title=cs.message)}
</td>
<td>
<span class="logtags">
<span class="branchtag">${cs.branch}</span>
%for tag in cs.tags:
<span class="tagtag">${tag}</span>
%endfor
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))}
</td>
</tr>
%endfor
</table>
<h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,tag in enumerate(c.repo_tags):
<tr class="parity${cnt%2}">
<td>${tag._ctx.date()|n,filters.age}</td>
<td>
<span class="logtags">
<span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span>
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))}
</td>
</tr>
%endfor
</table>
<h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,branch in enumerate(c.repo_branches):
<tr class="parity${cnt%2}">
<td>${branch._ctx.date()|n,filters.age}</td>
<td>
<span class="logtags">
<span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span>
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))}
</td>
</tr>
%endfor
</table>
</%def>