Mercurial > kallithea
annotate rhodecode/templates/forks/forks_data.html @ 1742:40c4f7351574 beta
added option to do a checkout after cloning a repository
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 Nov 2011 23:11:30 +0200 |
parents | c6b811f11c94 |
children | f91d3f9b7230 |
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 |
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
|
22 <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
|
23 <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
|
24 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
|
25 YUE.delegate("forks","click",function(e, matchedEl, container){ |
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 ypjax(e.target.href,"forks",function(){show_more_event();tooltip_activate();}); |
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 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
|
28 },'.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
|
29 }); |
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
|
30 </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
|
31 ${c.forks_pager.pager('$link_previous ~2~ $link_next')} |
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
|
32 </div> |
1304
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
33 % else: |
5a96551ee9c0
gui-improvments
Marcin Kuzminski <marcin@python-works.com>
parents:
1301
diff
changeset
|
34 ${_('There are no forks yet')} |
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 % endif |