annotate rhodecode/templates/forks/forks_data.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl

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.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:03:13 -0400
parents ec6354949623
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1301
7e75af301842 Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 ## -*- coding: utf-8 -*-
7e75af301842 Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2
1304
5a96551ee9c0 gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents: 1301
diff changeset
3 % if c.forks_pager:
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
4 % for f in c.forks_pager:
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
5 <div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
6 <div class="fork_user">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
7 <div class="gravatar">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
8 <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
9 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
10 <span style="font-size: 20px">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
11 <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) /
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
12 ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))}
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
13 </span>
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
14 <div style="padding:5px 3px 3px 42px;">${f.description}</div>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
15 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
16 <div style="clear:both;padding-top: 10px"></div>
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3322
diff changeset
17 <div class="follower_date">${_('Forked')} -
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
18 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span>
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3322
diff changeset
19 <a title="${_('Compare fork with %s' % c.repo_name)}"
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 3654
diff changeset
20 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)}"
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 3654
diff changeset
21 class="btn btn-small"><i class="icon-loop"></i> ${_('Compare fork')}</a>
3198
c20adbaf16af html: random indentation fixes
Mads Kiilerich <madski@unity3d.com>
parents: 3197
diff changeset
22 </div>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
23 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
24 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
25 % endfor
1421
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
26 <div class="pagination-wh pagination-left">
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
27 <script type="text/javascript">
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
28 YUE.onDOMReady(function(){
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
29 YUE.delegate("forks","click",function(e, matchedEl, container){
2971
2bfcec6a3985 new tooltip implementation
Marcin Kuzminski <marcin@python-works.com>
parents: 2673
diff changeset
30 ypjax(e.target.href,"forks",function(){
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
31 show_more_event();
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
32 tooltip_activate();
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
33 show_changeset_tooltip();
2971
2bfcec6a3985 new tooltip implementation
Marcin Kuzminski <marcin@python-works.com>
parents: 2673
diff changeset
34 });
1421
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
35 YUE.preventDefault(e);
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
36 },'.pager_link');
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
37 });
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
38 </script>
c6b811f11c94 Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
Marcin Kuzminski <marcin@python-works.com>
parents: 1304
diff changeset
39 ${c.forks_pager.pager('$link_previous ~2~ $link_next')}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1421
diff changeset
40 </div>
1304
5a96551ee9c0 gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents: 1301
diff changeset
41 % else:
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 2973
diff changeset
42 ${_('There are no forks yet')}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1421
diff changeset
43 % endif