##// END OF EJS Templates
added highlight lines field in ChangesetComments, will be used...
added highlight lines field in ChangesetComments, will be used later for attaching comments to blocks

File last commit:

r2673:d5e42c00 beta
r2724:29db53a7 beta
Show More
forks_data.html
39 lines | 1.6 KiB | text/html | HtmlLexer
Added simple forks page, resolves issue #179
r1301 ## -*- coding: utf-8 -*-
gui-improvments
r1304 % if c.forks_pager:
% for f in c.forks_pager:
<div>
<div class="fork_user">
<div class="gravatar">
<img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/>
</div>
<span style="font-size: 20px">
White-space cleanup
r1888 <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) /
gui-improvments
r1304 ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
</span>
<div style="padding:5px 3px 3px 42px;">${f.description}</div>
</div>
<div style="clear:both;padding-top: 10px"></div>
White-space cleanup
r1888 <div class="follower_date">${_('forked')} -
Added compare link in forks list
r2580 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span>
white space cleanup
r2673 <a title="${_('compare fork with %s' % c.repo_name)}"
href="${h.url('compare_url',repo_name=f.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default', repo=c.repo_name)}"
Added compare link in forks list
r2580 class="ui-btn small">${_('Compare fork')}</a>
</div>
White-space cleanup
r1888 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
gui-improvments
r1304 </div>
% endfor
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 <div class="pagination-wh pagination-left">
<script type="text/javascript">
YUE.onDOMReady(function(){
YUE.delegate("forks","click",function(e, matchedEl, container){
ypjax(e.target.href,"forks",function(){show_more_event();tooltip_activate();});
YUE.preventDefault(e);
},'.pager_link');
});
</script>
${c.forks_pager.pager('$link_previous ~2~ $link_next')}
White-space cleanup
r1888 </div>
gui-improvments
r1304 % else:
White-space cleanup
r1888 ${_('There are no forks yet')}
% endif