Files
@ 8e76649f11ad
Branch filter:
Location: kallithea/rhodecode/templates/forks/forks_data.html - annotation
8e76649f11ad
1.3 KiB
text/html
fixes safe_str method
- trye directly to encode with given encoding instead of trying to make a string out of the unicode
- trye directly to encode with given encoding instead of trying to make a string out of the unicode
7e75af301842 7e75af301842 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 5a96551ee9c0 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 c6b811f11c94 5a96551ee9c0 5a96551ee9c0 c6b811f11c94 | ## -*- coding: utf-8 -*-
% if c.forks_pager:
% for f in c.forks_pager:
<div>
<div class="fork_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}) /
${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
</span>
<div style="padding:5px 3px 3px 42px;">${f.description}</div>
</div>
<div style="clear:both;padding-top: 10px"></div>
<div class="follower_date">${_('forked')} -
<span class="tooltip" title="${f.created_on}"> ${h.age(f.created_on)}</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("forks","click",function(e, matchedEl, container){
ypjax(e.target.href,"forks",function(){show_more_event();tooltip_activate();});
YUE.preventDefault(e);
},'.pager_link');
});
</script>
${c.forks_pager.pager('$link_previous ~2~ $link_next')}
</div>
% else:
${_('There are no forks yet')}
% endif
|