##// END OF EJS Templates
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
Imported some of the GPLv3'd changes from RhodeCode v2.2.5. This imports changes between changesets 21af6c4eab3d and 6177597791c2 in RhodeCode's original repository, including only changes to Python files and HTML. RhodeCode clearly licensed its changes to these files under GPLv3 in their /LICENSE file, which states the following: The Python code and integrated HTML are licensed under the GPLv3 license. (See: https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE or http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE for an online copy of that LICENSE file) Conservancy reviewed these changes and confirmed that they can be licensed as a whole to the Kallithea project under GPLv3-only. While some of the contents committed herein are clearly licensed GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the statement above from RhodeCode indicates that they intend GPLv3-only as their license, per GPLv3ยง14 and other relevant sections of GPLv3.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4116:ffd45b18 rhodecode-2.2.5-gpl
Show More
forks_data.html
43 lines | 1.9 KiB | text/html | HtmlLexer
Added simple forks page, resolves issue #179
r1301 ## -*- coding: utf-8 -*-
gui-improvments
r1304 % if c.forks_pager:
Mads Kiilerich
html: don't use tabs
r3197 % 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))}
Mads Kiilerich
html: random indentation fixes
r3198 </span>
<div style="padding:5px 3px 3px 42px;">${f.description}</div>
Mads Kiilerich
html: don't use tabs
r3197 </div>
<div style="clear:both;padding-top: 10px"></div>
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 <div class="follower_date">${_('Forked')} -
Mads Kiilerich
html: random indentation fixes
r3198 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span>
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 <a title="${_('Compare fork with %s' % c.repo_name)}"
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 href="${h.url('compare_url',repo_name=c.repo_name, org_ref_type=c.rhodecode_db_repo.landing_rev[0],org_ref=c.rhodecode_db_repo.landing_rev[1],other_repo=f.repo_name,other_ref_type=c.rhodecode_db_repo.landing_rev[0],other_ref=c.rhodecode_db_repo.landing_rev[1], merge=1)}"
class="btn btn-small"><i class="icon-loop"></i> ${_('Compare fork')}</a>
Mads Kiilerich
html: random indentation fixes
r3198 </div>
Mads Kiilerich
html: don't use tabs
r3197 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
</div>
% endfor
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 <div class="pagination-wh pagination-left">
<script type="text/javascript">
YUE.onDOMReady(function(){
YUE.delegate("forks","click",function(e, matchedEl, container){
new tooltip implementation...
r2971 ypjax(e.target.href,"forks",function(){
Mads Kiilerich
html: don't use tabs
r3197 show_more_event();
tooltip_activate();
show_changeset_tooltip();
new tooltip implementation...
r2971 });
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 YUE.preventDefault(e);
},'.pager_link');
});
</script>
${c.forks_pager.pager('$link_previous ~2~ $link_next')}
White-space cleanup
r1888 </div>
gui-improvments
r1304 % else:
Mads Kiilerich
html: don't use tabs
r3197 ${_('There are no forks yet')}
White-space cleanup
r1888 % endif