##// END OF EJS Templates
fixes issue #739 Delete/Edit repositories should only point to admin links if the user is an super admin.
fixes issue #739 Delete/Edit repositories should only point to admin links if the user is an super admin.

File last commit:

r3198:c20adbaf beta
r3245:8f3cc21d beta
Show More
forks_data.html
43 lines | 1.8 KiB | text/html | HtmlLexer
Added simple forks page, resolves issue #179
r1301 ## -*- coding: utf-8 -*-
gui-improvments
r1304 % if c.forks_pager:
Mads Kiilerich
html: don't use tabs
r3197 % 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">
<b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) /
${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
Mads Kiilerich
html: random indentation fixes
r3198 </span>
<div style="padding:5px 3px 3px 42px;">${f.description}</div>
Mads Kiilerich
html: don't use tabs
r3197 </div>
<div style="clear:both;padding-top: 10px"></div>
<div class="follower_date">${_('forked')} -
Mads Kiilerich
html: random indentation fixes
r3198 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span>
<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)}"
class="ui-btn small">${_('Compare fork')}</a>
</div>
Mads Kiilerich
html: don't use tabs
r3197 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
</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){
new tooltip implementation...
r2971 ypjax(e.target.href,"forks",function(){
Mads Kiilerich
html: don't use tabs
r3197 show_more_event();
tooltip_activate();
show_changeset_tooltip();
new tooltip implementation...
r2971 });
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 YUE.preventDefault(e);
},'.pager_link');
});
</script>
${c.forks_pager.pager('$link_previous ~2~ $link_next')}
White-space cleanup
r1888 </div>
gui-improvments
r1304 % else:
Mads Kiilerich
html: don't use tabs
r3197 ${_('There are no forks yet')}
White-space cleanup
r1888 % endif