##// END OF EJS Templates
user-sessions: fix wrong date calculation.
user-sessions: fix wrong date calculation.

File last commit:

r1282:90601d74 default
r1359:b6c6e62c default
Show More
followers_data.mako
29 lines | 911 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
<table class="rctable followers_data">
<tr>
<th>${_('Follower Name')}</th>
<th>${_('Following Since')}</th>
</tr>
% for f in c.followers_pager:
<tr>
<td class="td-user follower_user">
${base.gravatar_with_user(f.user.email, 16)}
</td>
<td class="td-time follower_date">
${h.age_component(f.follows_from, time_is_local=True)}
</td>
</tr>
% endfor
</table>
<div class="pagination-wh pagination-left">
<script type="text/javascript">
$(document).pjax('#followers.pager_link','#followers');
$(document).on('pjax:success',function(){
show_more_event();
timeagoActivate();
});
</script>
${c.followers_pager.pager('$link_previous ~2~ $link_next')}
</div>