Mercurial > kallithea
diff rhodecode/templates/admin/repos/repos.html @ 1051:90eadff2c2a8 beta
changed all urls for IMAGES files to use pylons url function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 15 Feb 2011 19:09:29 +0100 |
parents | 3fc9183e05dd |
children | 9a7d0fbc4a80 |
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repos.html Tue Feb 15 18:52:08 2011 +0100 +++ b/rhodecode/templates/admin/repos/repos.html Tue Feb 15 19:09:29 2011 +0100 @@ -39,18 +39,18 @@ <td> ## TYPE OF REPO %if repo['dbrepo']['repo_type'] =='hg': - <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> + <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> %elif repo['dbrepo']['repo_type'] =='git': - <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> + <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> %else: %endif ## PRIVATE/PUBLIC REPO %if repo['dbrepo']['private']: - <img alt="${_('private')}" src="/images/icons/lock.png"/> + <img alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/> %else: - <img alt="${_('public')}" src="/images/icons/lock_open.png"/> + <img alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/> %endif ${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))} @@ -58,7 +58,7 @@ <a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}"> <img class="icon" alt="${_('public')}" title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}" - src="/images/icons/arrow_divide.png"/></a> + src="${h.url("/images/icons/arrow_divide.png")}"/></a> %endif </td> <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>