##// END OF EJS Templates
pep8ify + small fixes for followers page + added tooltips for followers
marcink -
r1280:215a4801 beta
parent child Browse files
Show More
@@ -88,7 +88,7 class ChangesetController(BaseRepoContro
88 88 c.sum_removed = 0
89 89 c.lines_added = 0
90 90 c.lines_deleted = 0
91 c.cut_off = False # defines if cut off limit is reached
91 c.cut_off = False # defines if cut off limit is reached
92 92
93 93 # Iterate over ranges (default changeset view is always one changeset)
94 94 for changeset in c.cs_ranges:
@@ -162,7 +162,6 class ChangesetController(BaseRepoContro
162 162 else:
163 163 diff = d.as_html()
164 164
165
166 165 if diff:
167 166 c.sum_removed += len(diff)
168 167 else:
@@ -5,7 +5,6
5 5 ${c.repo_name} ${_('Followers')} - ${c.rhodecode_name}
6 6 </%def>
7 7
8
9 8 <%def name="breadcrumbs_links()">
10 9 ${h.link_to(u'Home',h.url('/'))}
11 10 &raquo;
@@ -1,6 +1,5
1 1 ## -*- coding: utf-8 -*-
2 2
3
4 3 % for f in c.followers_pager:
5 4 <div>
6 5 <div class="follower_user">
@@ -10,12 +9,12
10 9 <span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span>
11 10 </div>
12 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 14 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
15 15 </div>
16 16 % endfor
17 17
18
19 18 <div class="pagination-wh pagination-left">
20 19 <script type="text/javascript">
21 20 var data_div = 'followers';
General Comments 0
You need to be logged in to leave comments. Login now