Mercurial > kallithea
changeset 6526:33a44dd50a87
style: fix display of Summary Repository Size
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 01 Mar 2017 02:37:43 +0100 |
parents | bcc67f909d9f |
children | 302af1ceaedd |
files | kallithea/public/css/style.css kallithea/templates/summary/summary.html |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Mon Feb 27 15:38:20 2017 +0100 +++ b/kallithea/public/css/style.css Wed Mar 01 02:37:43 2017 +0100 @@ -1185,8 +1185,10 @@ padding-right: 10px; } +#repo_size_2 { + display: none; +} #repo_size_2.loaded { - margin-left: 30px; display: block; padding-right: 10px; padding-bottom: 7px;
--- a/kallithea/templates/summary/summary.html Mon Feb 27 15:38:20 2017 +0100 +++ b/kallithea/templates/summary/summary.html Wed Mar 01 02:37:43 2017 +0100 @@ -147,8 +147,10 @@ %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