Mercurial > kallithea
annotate rhodecode/templates/forks/forks_data.html @ 1305:166317d464f3 beta
Added server side file editing with commit
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 03 May 2011 14:13:37 +0200 |
parents | 5a96551ee9c0 |
children | c6b811f11c94 |
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: |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
4 % for f in c.forks_pager: |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
5 <div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
6 <div class="fork_user"> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
7 <div class="gravatar"> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
8 <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
9 </div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
10 <span style="font-size: 20px"> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
11 <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname}) / |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
12 ${h.link_to(f.repo_name,h.url('summary_home',repo_name=f.repo_name))} |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
13 </span> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
14 <div style="padding:5px 3px 3px 42px;">${f.description}</div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
15 </div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
16 <div style="clear:both;padding-top: 10px"></div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
17 <div class="follower_date">${_('forked')} - |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
18 <span class="tooltip" title="${f.created_on}"> ${h.age(f.created_on)}</span></div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
19 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
20 </div> |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
21 % endfor |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
22 % else: |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
23 ${_('There are no forks yet')} |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
24 % endif |
1301
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 <div class="pagination-wh pagination-left"> |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 <script type="text/javascript"> |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 var data_div = 'forks'; |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 YAHOO.util.Event.onDOMReady(function(){ |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
29 YAHOO.util.Event.addListener( |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 YUD.getElementsByClassName('pager_link'),"click", |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 function(){ |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3'); |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
33 }); |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 }); |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
35 </script> |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
36 |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 ${c.forks_pager.pager('$link_previous ~2~ $link_next', |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 onclick="""YAHOO.util.Connect.asyncRequest('GET','$partial_url',{ |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
39 success:function(o){YAHOO.util.Dom.get(data_div).innerHTML=o.responseText; |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 YUE.on(YAHOO.util.Dom.getElementsByClassName('pager_link'),"click",function(){ |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
41 YAHOO.util.Dom.setStyle(data_div,'opacity','0.3');}); |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
42 YAHOO.util.Dom.setStyle(data_div,'opacity','1');}},null); return false;""")} |
7e75af301842
Added simple forks page, resolves issue #179
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
43 </div> |