##// END OF EJS Templates
fixed repo_create permission by adding missing commit statements...
fixed repo_create permission by adding missing commit statements - added few tests for checking permission in UserModel - added __json__() into get_dict() to fetch from it hybrid_properties and any additional custom properties - code garden

File last commit:

r1421:c6b811f1 beta
r1758:a87aa385 beta
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>