Changeset - 33a44dd50a87
[Not reviewed]
default
0 2 0
Mads Kiilerich - 9 years ago 2017-03-01 02:37:43
mads@kiilerich.com
style: fix display of Summary Repository Size
2 files changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -1185,8 +1185,10 @@ ul#summary-menu-stats {
 
    padding-right: 10px;
 
}
 

	
 
#repo_size_2 {
 
    display: none;
 
}
 
#repo_size_2.loaded {
 
    margin-left: 30px;
 
    display: block;
 
    padding-right: 10px;
 
    padding-bottom: 7px;
kallithea/templates/summary/summary.html
Show inline comments
 
@@ -147,8 +147,10 @@ summary = lambda n:{False:'summary-short
 

	
 
            %if request.authuser.username != 'default':
 
            <li class="list-group-item clearfix">
 
              <a href="#" onclick="javascript:showRepoSize('repo_size_2','${c.db_repo.repo_name}')"><i class="icon-ruler"></i> ${_('Repository Size')}</a>
 
              <span  class="badge pull-right" id="repo_size_2"></span>
 
              <a href="#" onclick="javascript:showRepoSize('repo_size_2','${c.db_repo.repo_name}')">
 
                <i class="icon-ruler"></i> ${_('Repository Size')}
 
                <span class="badge pull-right" id="repo_size_2"></span>
 
              </a>
 
            </li>
 
            %endif
 

	
0 comments (0 inline, 0 general)