Mercurial > kallithea
view rhodecode/templates/followers/followers_data.html @ 2729:e9e7c40b4f1a beta
added deque with maxlen for py2.5 compat
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 22 Aug 2012 12:09:49 +0200 |
parents | f467c75544af |
children | 2bfcec6a3985 |
line wrap: on
line source
## -*- 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> <div class="follower_date">${_('Started following -')} <span class="tooltip" title="${h.tooltip(f.follows_from)}"> ${h.age(f.follows_from)}</span></div> <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"> 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'); }); </script> ${c.followers_pager.pager('$link_previous ~2~ $link_next')} </div>