followers_data.mako
29 lines
| 911 B
| application/x-mako
|
MakoHtmlLexer
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> | ||||