Show More
@@ -1,35 +1,39 | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 | % if c.forks_pager: |
|
3 | % if c.forks_pager: | |
4 | % for f in c.forks_pager: |
|
4 | % for f in c.forks_pager: | |
5 | <div> |
|
5 | <div> | |
6 | <div class="fork_user"> |
|
6 | <div class="fork_user"> | |
7 | <div class="gravatar"> |
|
7 | <div class="gravatar"> | |
8 | <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/> |
|
8 | <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/> | |
9 | </div> |
|
9 | </div> | |
10 | <span style="font-size: 20px"> |
|
10 | <span style="font-size: 20px"> | |
11 | <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) / |
|
11 | <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) / | |
12 | ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))} |
|
12 | ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))} | |
13 | </span> |
|
13 | </span> | |
14 | <div style="padding:5px 3px 3px 42px;">${f.description}</div> |
|
14 | <div style="padding:5px 3px 3px 42px;">${f.description}</div> | |
15 | </div> |
|
15 | </div> | |
16 | <div style="clear:both;padding-top: 10px"></div> |
|
16 | <div style="clear:both;padding-top: 10px"></div> | |
17 | <div class="follower_date">${_('forked')} - |
|
17 | <div class="follower_date">${_('forked')} - | |
18 |
<span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> |
|
18 | <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> | |
|
19 | <a title="${_('compare fork with %s' % c.repo_name)}" | |||
|
20 | 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)}" | |||
|
21 | class="ui-btn small">${_('Compare fork')}</a> | |||
|
22 | </div> | |||
19 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> |
|
23 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> | |
20 | </div> |
|
24 | </div> | |
21 | % endfor |
|
25 | % endfor | |
22 | <div class="pagination-wh pagination-left"> |
|
26 | <div class="pagination-wh pagination-left"> | |
23 | <script type="text/javascript"> |
|
27 | <script type="text/javascript"> | |
24 | YUE.onDOMReady(function(){ |
|
28 | YUE.onDOMReady(function(){ | |
25 | YUE.delegate("forks","click",function(e, matchedEl, container){ |
|
29 | YUE.delegate("forks","click",function(e, matchedEl, container){ | |
26 | ypjax(e.target.href,"forks",function(){show_more_event();tooltip_activate();}); |
|
30 | ypjax(e.target.href,"forks",function(){show_more_event();tooltip_activate();}); | |
27 | YUE.preventDefault(e); |
|
31 | YUE.preventDefault(e); | |
28 | },'.pager_link'); |
|
32 | },'.pager_link'); | |
29 | }); |
|
33 | }); | |
30 | </script> |
|
34 | </script> | |
31 | ${c.forks_pager.pager('$link_previous ~2~ $link_next')} |
|
35 | ${c.forks_pager.pager('$link_previous ~2~ $link_next')} | |
32 | </div> |
|
36 | </div> | |
33 | % else: |
|
37 | % else: | |
34 | ${_('There are no forks yet')} |
|
38 | ${_('There are no forks yet')} | |
35 | % endif |
|
39 | % endif |
General Comments 0
You need to be logged in to leave comments.
Login now