diff rhodecode/templates/base/base.html @ 4144:962f753552cd rhodecode-2.2.5-gpl

old style: don't reserve space for icons - they will have take the space they need
author Mads Kiilerich <madski@unity3d.com>
date Wed, 02 Jul 2014 19:03:22 -0400
parents 05ed7e20bd0f
children 5842d2115a25
line wrap: on
line diff
--- a/rhodecode/templates/base/base.html	Wed Jul 02 19:03:22 2014 -0400
+++ b/rhodecode/templates/base/base.html	Wed Jul 02 19:03:22 2014 -0400
@@ -365,6 +365,7 @@
             var tmpl = '';
 
             if(obj_dict && state.type == 'repo'){
+                tmpl += '<span class="repo-icons">';
                 if(obj_dict['repo_type'] === 'hg'){
                     tmpl += '<i class="icon-hg"></i> ';
                 }
@@ -377,6 +378,7 @@
                 else if(visual_show_public_icon){
                     tmpl += '<i class="icon-unlock-alt"></i> ';
                 }
+                tmpl += '</span>';
             }
             if(obj_dict && state.type == 'group'){
                     tmpl += '<i class="icon-folder-close"></i> ';