Mercurial > kallithea
diff rhodecode/templates/admin/users/user_edit_my_account.html @ 1961:f48bce87475b beta
code cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 28 Jan 2012 00:51:13 +0200 |
parents | f91d3f9b7230 |
children | 82a88013a3fd b745d5d2563c |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account.html Sat Jan 28 00:07:46 2012 +0200 +++ b/rhodecode/templates/admin/users/user_edit_my_account.html Sat Jan 28 00:51:13 2012 +0200 @@ -137,9 +137,9 @@ %for repo in c.user_repos: <tr> <td> - %if repo['dbrepo']['repo_type'] =='hg': + %if h.is_hg(repo['dbrepo']['repo_type']): <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url('/images/icons/hgicon.png')}"/> - %elif repo['dbrepo']['repo_type'] =='git': + %elif h.is_git(repo['dbrepo']['repo_type']): <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url('/images/icons/giticon.png')}"/> %else: