##// END OF EJS Templates
login: Fix password reset mail link....
login: Fix password reset mail link. - Pyramid needs the request object to generate an URL. - Therefore we generate the URL in the view and pass it to the model to send the email.

File last commit:

r7:ba8453c8 default
r37:0ef0b0cc default
Show More
forks_data.html
49 lines | 1.8 KiB | text/html | HtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.html"/>
% if c.forks_pager:
<table class="rctable fork_summary">
<tr>
html: fixing forks table #3959
r7 <th>${_('Owner')}</th>
project: added all source files and assets
r1 <th>${_('Fork')}</th>
<th>${_('Description')}</th>
<th>${_('Forked')}</th>
<th></th>
</tr>
% for f in c.forks_pager:
<tr>
<td class="td-user fork_user">
${base.gravatar_with_user(f.user.email, 16)}
html: fixing forks table #3959
r7 </td>
<td class="td-componentname">
project: added all source files and assets
r1 ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
</td>
<td class="td-description">
<div class="truncate">${f.description}</div>
</td>
<td class="td-time follower_date">
${h.age_component(f.created_on)}
</td>
<td class="td-compare">
<a title="${_('Compare fork with %s' % c.repo_name)}"
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)}"
class="btn-link"><i class="icon-loop"></i> ${_('Compare fork')}</a>
</td>
</tr>
% endfor
</table>
<div class="pagination-wh pagination-left">
<script type="text/javascript">
$(document).pjax('#forks .pager_link','#forks');
$(document).on('pjax:success',function(){
show_more_event();
timeagoActivate();
tooltip_activate();
show_changeset_tooltip();
});
</script>
${c.forks_pager.pager('$link_previous ~2~ $link_next')}
</div>
% else:
${_('There are no forks yet')}
% endif