##// END OF EJS Templates
merge beta fixes into stable
merge beta fixes into stable

File last commit:

r1421:c6b811f1 beta
r1520:5dce4f53 merge default
Show More
followers_data.html
27 lines | 1.1 KiB | text/html | HtmlLexer
#179 Added followers page
r1279 ## -*- coding: utf-8 -*-
% for f in c.followers_pager:
<div>
<div class="follower_user">
<div class="gravatar">
<img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/>
</div>
<span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span>
</div>
<div style="clear:both;padding-top: 10px"></div>
pep8ify + small fixes for followers page + added tooltips for followers
r1280 <div class="follower_date">${_('Started following')} -
<span class="tooltip" title="${f.follows_from}"> ${h.age(f.follows_from)}</span></div>
#179 Added followers page
r1279 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
</div>
% endfor
<div class="pagination-wh pagination-left">
<script type="text/javascript">
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 YUE.onDOMReady(function(){
YUE.delegate("followers","click",function(e, matchedEl, container){
ypjax(e.target.href,"followers",function(){show_more_event();tooltip_activate();});
YUE.preventDefault(e);
},'.pager_link');
});
#179 Added followers page
r1279 </script>
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 ${c.followers_pager.pager('$link_previous ~2~ $link_next')}
#179 Added followers page
r1279 </div>