diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -268,6 +268,12 @@ text-align: right; color: @grey4; } + + .file-container { + display: inline-block; + width: 100%; + } + } #summary-menu-stats { diff --git a/rhodecode/templates/search/search.mako b/rhodecode/templates/search/search.mako --- a/rhodecode/templates/search/search.mako +++ b/rhodecode/templates/search/search.mako @@ -43,6 +43,22 @@ %endif %def> +<%def name="repo_icon(db_repo)"> + %if h.is_hg(db_repo): + + %endif + %if h.is_git(db_repo): + + %endif + %if h.is_svn(db_repo): + + %endif +%def> + +<%def name="repo_group_icon()"> + +%def> + <%def name="main()">
<% repo_type = entry.get('repo_type') or h.get_repo_type_by_name(entry.get('repository')) %> - %if repo_type == 'hg': - - %elif repo_type == 'git': - - %elif repo_type == 'svn': - - %endif + ${search.repo_icon(repo_type)} ${h.link_to(entry['repository'], h.route_path('repo_summary',repo_name=entry['repository']))} |