##// END OF EJS Templates
i18n: replaced fragile extraction of JS translations from an _TM variable....
i18n: replaced fragile extraction of JS translations from an _TM variable. We replaced it with similar to babel functions _gettext, and _ngettext, that will prevent UI from breaking in case of untranslated strings. This also will allow to use babel built in extractors to fetch the translations stored inside html and JS.

File last commit:

r155:bb64dc25 default
r325:9f2e29d4 stable
Show More
followers_data.html
31 lines | 973 B | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.html"/>
<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();
tooltip_activate();
show_changeset_tooltip();
});
</script>
${c.followers_pager.pager('$link_previous ~2~ $link_next')}
</div>