comparison rhodecode/templates/index.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 31e82d872631
comparison
equal deleted inserted replaced
1050:cabe887a9829 1051:90eadff2c2a8
59 <tr class="parity${cnt%2}"> 59 <tr class="parity${cnt%2}">
60 <td> 60 <td>
61 <div style="white-space: nowrap"> 61 <div style="white-space: nowrap">
62 ## TYPE OF REPO 62 ## TYPE OF REPO
63 %if repo['dbrepo']['repo_type'] =='hg': 63 %if repo['dbrepo']['repo_type'] =='hg':
64 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/> 64 <img class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
65 %elif repo['dbrepo']['repo_type'] =='git': 65 %elif repo['dbrepo']['repo_type'] =='git':
66 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/> 66 <img class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
67 %else: 67 %else:
68 68
69 %endif 69 %endif
70 70
71 ##PRIVATE/PUBLIC 71 ##PRIVATE/PUBLIC
72 %if repo['dbrepo']['private']: 72 %if repo['dbrepo']['private']:
73 <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/> 73 <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/>
74 %else: 74 %else:
75 <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/> 75 <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/>
76 %endif 76 %endif
77 77
78 ##NAME 78 ##NAME
79 ${h.link_to(repo['name'], 79 ${h.link_to(repo['name'],
80 h.url('summary_home',repo_name=repo['name']),class_="repo_name")} 80 h.url('summary_home',repo_name=repo['name']),class_="repo_name")}
81 %if repo['dbrepo_fork']: 81 %if repo['dbrepo_fork']:
82 <a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}"> 82 <a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
83 <img class="icon" alt="${_('fork')}" 83 <img class="icon" alt="${_('fork')}"
84 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}" 84 title="${_('Fork of')} ${repo['dbrepo_fork']['repo_name']}"
85 src="/images/icons/arrow_divide.png"/></a> 85 src="${h.url("/images/icons/arrow_divide.png")}"/></a>
86 %endif 86 %endif
87 </div> 87 </div>
88 </td> 88 </td>
89 ##DESCRIPTION 89 ##DESCRIPTION
90 <td><span class="tooltip" title="${h.tooltip(repo['description'])}"> 90 <td><span class="tooltip" title="${h.tooltip(repo['description'])}">