##// END OF EJS Templates
html: fixing forks table #3959
lisaq -
r7:ba8453c8 default
parent child Browse files
Show More
@@ -1,47 +1,49 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%namespace name="base" file="/base/base.html"/>
3 3
4 4 % if c.forks_pager:
5 5 <table class="rctable fork_summary">
6 6 <tr>
7 <th>${_('Owner')}</th>
7 8 <th>${_('Fork')}</th>
8 9 <th>${_('Description')}</th>
9 10 <th>${_('Forked')}</th>
10 11 <th></th>
11 12 </tr>
12 13 % for f in c.forks_pager:
13 14 <tr>
14 15 <td class="td-user fork_user">
15 16 ${base.gravatar_with_user(f.user.email, 16)}
16 &frasl;
17 </td>
18 <td class="td-componentname">
17 19 ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
18 20 </td>
19 21 <td class="td-description">
20 22 <div class="truncate">${f.description}</div>
21 23 </td>
22 24 <td class="td-time follower_date">
23 25 ${h.age_component(f.created_on)}
24 26 </td>
25 27 <td class="td-compare">
26 28 <a title="${_('Compare fork with %s' % c.repo_name)}"
27 29 href="${h.url('compare_url',repo_name=c.repo_name, source_ref_type=c.rhodecode_db_repo.landing_rev[0],source_ref=c.rhodecode_db_repo.landing_rev[1],target_repo=f.repo_name,target_ref_type=c.rhodecode_db_repo.landing_rev[0],target_ref=c.rhodecode_db_repo.landing_rev[1], merge=1)}"
28 30 class="btn-link"><i class="icon-loop"></i> ${_('Compare fork')}</a>
29 31 </td>
30 32 </tr>
31 33 % endfor
32 34 </table>
33 35 <div class="pagination-wh pagination-left">
34 36 <script type="text/javascript">
35 37 $(document).pjax('#forks .pager_link','#forks');
36 38 $(document).on('pjax:success',function(){
37 39 show_more_event();
38 40 timeagoActivate();
39 41 tooltip_activate();
40 42 show_changeset_tooltip();
41 43 });
42 44 </script>
43 45 ${c.forks_pager.pager('$link_previous ~2~ $link_next')}
44 46 </div>
45 47 % else:
46 48 ${_('There are no forks yet')}
47 49 % endif
General Comments 0
You need to be logged in to leave comments. Login now