Show More
@@ -1,28 +1,28 | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 | % for f in c.followers_pager: |
|
3 | % for f in c.followers_pager: | |
4 | <div> |
|
4 | <div> | |
5 | <div class="follower_user"> |
|
5 | <div class="follower_user"> | |
6 | <div class="gravatar"> |
|
6 | <div class="gravatar"> | |
7 | <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/> |
|
7 | <img alt="gravatar" src="${h.gravatar_url(f.user.email,24)}"/> | |
8 | </div> |
|
8 | </div> | |
9 | <span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span> |
|
9 | <span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span> | |
10 | </div> |
|
10 | </div> | |
11 | <div style="clear:both;padding-top: 10px"></div> |
|
11 | <div style="clear:both;padding-top: 10px"></div> | |
12 |
<div class="follower_date">${_('Started following')} |
|
12 | <div class="follower_date">${_('Started following -')} | |
13 | <span class="tooltip" title="${f.follows_from}"> ${h.age(f.follows_from)}</span></div> |
|
13 | <span class="tooltip" title="${f.follows_from}"> ${h.age(f.follows_from)}</span></div> | |
14 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> |
|
14 | <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> | |
15 | </div> |
|
15 | </div> | |
16 | % endfor |
|
16 | % endfor | |
17 |
|
17 | |||
18 | <div class="pagination-wh pagination-left"> |
|
18 | <div class="pagination-wh pagination-left"> | |
19 | <script type="text/javascript"> |
|
19 | <script type="text/javascript"> | |
20 | YUE.onDOMReady(function(){ |
|
20 | YUE.onDOMReady(function(){ | |
21 | YUE.delegate("followers","click",function(e, matchedEl, container){ |
|
21 | YUE.delegate("followers","click",function(e, matchedEl, container){ | |
22 | ypjax(e.target.href,"followers",function(){show_more_event();tooltip_activate();}); |
|
22 | ypjax(e.target.href,"followers",function(){show_more_event();tooltip_activate();}); | |
23 | YUE.preventDefault(e); |
|
23 | YUE.preventDefault(e); | |
24 | },'.pager_link'); |
|
24 | },'.pager_link'); | |
25 | }); |
|
25 | }); | |
26 | </script> |
|
26 | </script> | |
27 | ${c.followers_pager.pager('$link_previous ~2~ $link_next')} |
|
27 | ${c.followers_pager.pager('$link_previous ~2~ $link_next')} | |
28 | </div> |
|
28 | </div> |
@@ -1,20 +1,20 | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 | <li class="qfilter_rs"> |
|
3 | <li class="qfilter_rs"> | |
4 |
<input type="text" style="border:0" value="quick filter..." name="filter" size=" |
|
4 | <input type="text" style="border:0" value="${_('quick filter...')}" name="filter" size="20" id="q_filter_rs" /> | |
5 | </li> |
|
5 | </li> | |
6 |
|
6 | |||
7 | %for repo in c.repos_list: |
|
7 | %for repo in c.repos_list: | |
8 |
|
8 | |||
9 | %if repo['dbrepo']['private']: |
|
9 | %if repo['dbrepo']['private']: | |
10 | <li> |
|
10 | <li> | |
11 | <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
|
11 | <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> | |
12 | ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
|
12 | ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} | |
13 | </li> |
|
13 | </li> | |
14 | %else: |
|
14 | %else: | |
15 | <li> |
|
15 | <li> | |
16 | <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" /> |
|
16 | <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" /> | |
17 | ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
|
17 | ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} | |
18 | </li> |
|
18 | </li> | |
19 | %endif |
|
19 | %endif | |
20 | %endfor |
|
20 | %endfor |
General Comments 0
You need to be logged in to leave comments.
Login now