##// END OF EJS Templates
pep8ify + small fixes for followers page + added tooltips for followers
marcink -
r1280:215a4801 beta
parent child Browse files
Show More
@@ -162,7 +162,6 class ChangesetController(BaseRepoContro
162 else:
162 else:
163 diff = d.as_html()
163 diff = d.as_html()
164
164
165
166 if diff:
165 if diff:
167 c.sum_removed += len(diff)
166 c.sum_removed += len(diff)
168 else:
167 else:
@@ -5,7 +5,6
5 ${c.repo_name} ${_('Followers')} - ${c.rhodecode_name}
5 ${c.repo_name} ${_('Followers')} - ${c.rhodecode_name}
6 </%def>
6 </%def>
7
7
8
9 <%def name="breadcrumbs_links()">
8 <%def name="breadcrumbs_links()">
10 ${h.link_to(u'Home',h.url('/'))}
9 ${h.link_to(u'Home',h.url('/'))}
11 &raquo;
10 &raquo;
@@ -1,6 +1,5
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2
2
3
4 % for f in c.followers_pager:
3 % for f in c.followers_pager:
5 <div>
4 <div>
6 <div class="follower_user">
5 <div class="follower_user">
@@ -10,12 +9,12
10 <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>
11 </div>
10 </div>
12 <div style="clear:both;padding-top: 10px"></div>
11 <div style="clear:both;padding-top: 10px"></div>
13 <div class="follower_date">${_('Started following on')} - ${f.follows_from}</div>
12 <div class="follower_date">${_('Started following')} -
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
19 <div class="pagination-wh pagination-left">
18 <div class="pagination-wh pagination-left">
20 <script type="text/javascript">
19 <script type="text/javascript">
21 var data_div = 'followers';
20 var data_div = 'followers';
General Comments 0
You need to be logged in to leave comments. Login now