Changeset - 215a4801bb1e
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 15 years ago 2011-04-23 17:22:50
marcin@python-works.com
pep8ify + small fixes for followers page + added tooltips for followers
3 files changed with 3 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changeset.py
Show inline comments
 
@@ -88,7 +88,7 @@ class ChangesetController(BaseRepoContro
 
        c.sum_removed = 0
 
        c.lines_added = 0
 
        c.lines_deleted = 0
 
        c.cut_off = False # defines if cut off limit is reached
 
        c.cut_off = False  # defines if cut off limit is reached
 

	
 
        # Iterate over ranges (default changeset view is always one changeset)
 
        for changeset in c.cs_ranges:
 
@@ -162,7 +162,6 @@ class ChangesetController(BaseRepoContro
 
                            else:
 
                                diff = d.as_html()
 

	
 

	
 
                            if diff:
 
                                c.sum_removed += len(diff)
 
                        else:
rhodecode/templates/followers/followers.html
Show inline comments
 
@@ -5,7 +5,6 @@
 
    ${c.repo_name} ${_('Followers')} - ${c.rhodecode_name}
 
</%def>
 

	
 

	
 
<%def name="breadcrumbs_links()">
 
    ${h.link_to(u'Home',h.url('/'))}
 
    &raquo; 
rhodecode/templates/followers/followers_data.html
Show inline comments
 
## -*- coding: utf-8 -*-
 

	
 

	
 
% for f in c.followers_pager:
 
    <div>
 
        <div class="follower_user">
 
@@ -10,12 +9,12 @@
 
            <span style="font-size: 20px"> <b>${f.user.username}</b> (${f.user.name} ${f.user.lastname})</span>
 
        </div>
 
        <div style="clear:both;padding-top: 10px"></div>
 
        <div class="follower_date">${_('Started following on')} - ${f.follows_from}</div>
 
        <div class="follower_date">${_('Started following')} - 
 
        <span class="tooltip" title="${f.follows_from}"> ${h.age(f.follows_from)}</span></div>
 
        <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>
 
    </div>                
 
% endfor 
 

	
 

	
 
<div class="pagination-wh pagination-left">
 
<script type="text/javascript">
 
  var data_div = 'followers';
0 comments (0 inline, 0 general)