changeset 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 cabe887a9829
children c96651aebd8a
files rhodecode/templates/admin/repos/repo_edit_perms.html rhodecode/templates/admin/repos/repos.html rhodecode/templates/admin/users/user_edit.html rhodecode/templates/admin/users/user_edit_my_account.html rhodecode/templates/admin/users_groups/users_group_edit.html rhodecode/templates/base/base.html rhodecode/templates/changelog/changelog.html rhodecode/templates/changeset/changeset.html rhodecode/templates/errors/error_document.html rhodecode/templates/index.html rhodecode/templates/journal/journal.html rhodecode/templates/login.html rhodecode/templates/password_reset.html rhodecode/templates/register.html rhodecode/templates/summary/summary.html
diffstat 15 files changed, 54 insertions(+), 54 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repo_edit_perms.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/admin/repos/repo_edit_perms.html	Tue Feb 15 19:09:29 2011 +0100
@@ -27,7 +27,7 @@
                     ${_('private repository')}
                     </span>
                 </td>
-                <td class="private_repo_msg"><img style="vertical-align:bottom" src="/images/icons/user.png"/>${r2p.user.username}</td>
+                <td class="private_repo_msg"><img style="vertical-align:bottom" src="${h.url("/images/icons/user.png")}"/>${r2p.user.username}</td>
             </tr>
         %else:
         <tr id="id${id(r2p.user.username)}">
@@ -35,7 +35,7 @@
             <td>${h.radio('u_perm_%s' % r2p.user.username,'repository.read')}</td>
             <td>${h.radio('u_perm_%s' % r2p.user.username,'repository.write')}</td>
             <td>${h.radio('u_perm_%s' % r2p.user.username,'repository.admin')}</td>
-            <td style="white-space: nowrap;"><img style="vertical-align:bottom" src="/images/icons/user.png"/>${r2p.user.username}</td>
+            <td style="white-space: nowrap;"><img style="vertical-align:bottom" src="${h.url("/images/icons/user.png")}"/>${r2p.user.username}</td>
             <td>
               %if r2p.user.username !='default':
                 <span class="delete_icon action_button" onclick="ajaxActionUser(${r2p.user.user_id},'${'id%s'%id(r2p.user.username)}')">
@@ -64,7 +64,7 @@
             <td>${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.read')}</td>
             <td>${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.write')}</td>
             <td>${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.admin')}</td>
-            <td><img  style="vertical-align:bottom" src="/images/icons/group.png"/>${g2p.users_group.users_group_name}</td>
+            <td><img  style="vertical-align:bottom" src="${h.url("/images/icons/group.png")}"/>${g2p.users_group.users_group_name}</td>
             <td>
                 <span class="delete_icon action_button" onclick="ajaxActionUsersGroup(${g2p.users_group.users_group_id},'${'id%s'%id(g2p.users_group.users_group_name)}')">
                 </span>
--- 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>
--- a/rhodecode/templates/admin/users/user_edit.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/admin/users/user_edit.html	Tue Feb 15 19:09:29 2011 +0100
@@ -140,11 +140,11 @@
 		                    <div style="float:left;width:20px;padding-top:50px">
 		                        <img alt="add" id="add_element" 
 		                            style="padding:2px;cursor:pointer" 
-		                            src="/images/icons/arrow_left.png">
+		                            src="${h.url("/images/icons/arrow_left.png")}">
 		                        <br />
 		                        <img alt="remove" id="remove_element" 
 		                            style="padding:2px;cursor:pointer" 
-		                            src="/images/icons/arrow_right.png">
+		                            src="${h.url("/images/icons/arrow_right.png")}">
 		                    </div>
 		                    <div style="float:left">
 		                        <div class="text">${_('Available permissions')}</div>
--- a/rhodecode/templates/admin/users/user_edit_my_account.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html	Tue Feb 15 19:09:29 2011 +0100
@@ -120,16 +120,16 @@
 		        <tr>
 		            <td>
                      %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 		            
 		             %if repo['dbrepo']['private']:
-		                <img class="icon" alt="${_('private')}" src="/images/icons/lock.png"/>
+		                <img class="icon" alt="${_('private')}" src="${h.url("/images/icons/lock.png")}"/>
 		             %else:
-		                <img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/>
+		                <img class="icon" alt="${_('public')}" src="${h.url("/images/icons/lock_open.png")}"/>
 		             %endif
 		                                             
 		            ${h.link_to(repo['repo'].name, h.url('summary_home',repo_name=repo['repo'].name),class_="repo_name")}
@@ -137,11 +137,11 @@
 		            	<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><span class="tooltip" title="${repo['repo'].last_change}">${("r%s:%s") % (h.get_changeset_safe(repo['repo'],'tip').revision,h.short_id(h.get_changeset_safe(repo['repo'],'tip').raw_id))}</span></td>
-		            <td><a href="${h.url('repo_settings_home',repo_name=repo['repo'].name)}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="/images/icons/application_form_edit.png"/></a></td>
+		            <td><a href="${h.url('repo_settings_home',repo_name=repo['repo'].name)}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url("/images/icons/application_form_edit.png")}"/></a></td>
 		            <td>
 	                  ${h.form(url('repo_settings_delete', repo_name=repo['repo'].name),method='delete')}
 	                    ${h.submit('remove_%s' % repo['repo'].name,'',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
--- a/rhodecode/templates/admin/users_groups/users_group_edit.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/admin/users_groups/users_group_edit.html	Tue Feb 15 19:09:29 2011 +0100
@@ -59,23 +59,23 @@
 	                                            ${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")}
 	                                           <div  id="remove_all_elements" style="cursor:pointer;text-align:center">
 	                                               ${_('Remove all elements')}
-	                                               <img alt="remove" style="vertical-align:text-bottom" src="/images/icons/arrow_right.png"/>
+	                                               <img alt="remove" style="vertical-align:text-bottom" src="${h.url("/images/icons/arrow_right.png")}"/>
 	                                           </div>
 	                                        </div>
 	                                        <div style="float:left;width:20px;padding-top:50px">
 	                                            <img alt="add" id="add_element" 
 	                                                style="padding:2px;cursor:pointer" 
-	                                                src="/images/icons/arrow_left.png"/>
+	                                                src="${h.url("/images/icons/arrow_left.png")}"/>
 	                                            <br />
 	                                            <img alt="remove" id="remove_element" 
 	                                                style="padding:2px;cursor:pointer" 
-	                                                src="/images/icons/arrow_right.png"/>
+	                                                src="${h.url("/images/icons/arrow_right.png")}"/>
 	                                        </div>
 	                                        <div style="float:left">
 	                                             <div class="text" style="padding: 0px 0px 6px;">${_('Available members')}</div>
 	                                             ${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px")}
 	                                             <div id="add_all_elements" style="cursor:pointer;text-align:center">
-	                                                   <img alt="add" style="vertical-align:text-bottom" src="/images/icons/arrow_left.png"/>
+	                                                   <img alt="add" style="vertical-align:text-bottom" src="${h.url("/images/icons/arrow_left.png")}"/>
 	                                                    ${_('Add all elements')}
 	                                             </div>	                                        
 	                                        </div>
--- a/rhodecode/templates/base/base.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/base/base.html	Tue Feb 15 19:09:29 2011 +0100
@@ -135,7 +135,7 @@
 				<li>
 					<a id="repo_switcher" title="${_('Switch repository')}" href="#">
                     <span class="icon">
-                        <img src="/images/icons/database.png" alt="${_('Products')}" />
+                        <img src="${h.url("/images/icons/database.png")}" alt="${_('Products')}" />
                     </span>
                     <span>&darr;</span>					
 					</a>
@@ -143,9 +143,9 @@
                         %for repo in c.cached_repo_list:
                         
                           %if repo['dbrepo']['private']:
-                             <li><img src="/images/icons/lock.png" alt="${_('Private repository')}" class="repo_switcher_type"/>${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li>
+                             <li><img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/>${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li>
                           %else:
-                             <li><img src="/images/icons/lock_open.png" alt="${_('Public repository')}" class="repo_switcher_type" />${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li>
+                             <li><img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" />${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li>
                           %endif  
                         %endfor					
 					</ul>			
@@ -154,7 +154,7 @@
 	            <li ${is_current('summary')}>
 	               <a title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}">
 	               <span class="icon">
-	                   <img src="/images/icons/clipboard_16.png" alt="${_('Summary')}" />
+	                   <img src="${h.url("/images/icons/clipboard_16.png")}" alt="${_('Summary')}" />
 	               </span>
 	               <span>${_('Summary')}</span>                 
 	               </a>	            
@@ -162,7 +162,7 @@
                 ##<li ${is_current('shortlog')}>
                 ##   <a title="${_('Shortlog')}" href="${h.url('shortlog_home',repo_name=c.repo_name)}">
                 ##   <span class="icon">
-                ##       <img src="/images/icons/application_view_list.png" alt="${_('Shortlog')}" />
+                ##       <img src="${h.url("/images/icons/application_view_list.png")}" alt="${_('Shortlog')}" />
                 ##   </span>
                 ##   <span>${_('Shortlog')}</span>                 
                 ##   </a>             
@@ -170,7 +170,7 @@
                 <li ${is_current('changelog')}>
                    <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}">
                    <span class="icon">
-                       <img src="/images/icons/time.png" alt="${_('Changelog')}" />
+                       <img src="${h.url("/images/icons/time.png")}" alt="${_('Changelog')}" />
                    </span>
                    <span>${_('Changelog')}</span>                 
                    </a>             
@@ -179,7 +179,7 @@
                 <li ${is_current('switch_to')}>
                    <a title="${_('Switch to')}" href="#">
                    <span class="icon">
-                       <img src="/images/icons/arrow_switch.png" alt="${_('Switch to')}" />
+                       <img src="${h.url("/images/icons/arrow_switch.png")}" alt="${_('Switch to')}" />
                    </span>
                    <span>${_('Switch to')}</span>                 
                    </a>    
@@ -213,7 +213,7 @@
                 <li ${is_current('files')}>
                    <a title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}">
                    <span class="icon">
-                       <img src="/images/icons/file.png" alt="${_('Files')}" />
+                       <img src="${h.url("/images/icons/file.png")}" alt="${_('Files')}" />
                    </span>
                    <span>${_('Files')}</span>                 
                    </a>             
@@ -222,7 +222,7 @@
                 <li ${is_current('options')}>
                    <a title="${_('Options')}" href="#">
                    <span class="icon">
-                       <img src="/images/icons/table_gear.png" alt="${_('Admin')}" />
+                       <img src="${h.url("/images/icons/table_gear.png")}" alt="${_('Admin')}" />
                    </span>
                    <span>${_('Options')}</span>                 
                    </a>
@@ -262,7 +262,7 @@
                 <li>
                     <a title="${_('Followers')}" href="#">
                     <span class="icon_short">
-                        <img src="/images/icons/heart.png" alt="${_('Followers')}" />
+                        <img src="${h.url("/images/icons/heart.png")}" alt="${_('Followers')}" />
                     </span>
                     <span class="short">${c.repository_followers}</span>
                     </a>
@@ -270,7 +270,7 @@
                 <li>
                     <a title="${_('Forks')}" href="#">
                     <span class="icon_short">
-                        <img src="/images/icons/arrow_divide.png" alt="${_('Forks')}" />
+                        <img src="${h.url("/images/icons/arrow_divide.png")}" alt="${_('Forks')}" />
                     </span>
                     <span class="short">${c.repository_forks}</span>
                     </a>
@@ -285,7 +285,7 @@
                 <li>
                     <a title="${_('Home')}"  href="${h.url('home')}">
                     <span class="icon">
-                        <img src="/images/icons/home_16.png" alt="${_('Home')}" />
+                        <img src="${h.url("/images/icons/home_16.png")}" alt="${_('Home')}" />
                     </span>
                     <span>${_('Home')}</span>                 
                     </a>        
@@ -294,7 +294,7 @@
                 <li>
                     <a title="${_('Journal')}"  href="${h.url('journal')}">
                     <span class="icon">
-                        <img src="/images/icons/book.png" alt="${_('Journal')}" />
+                        <img src="${h.url("/images/icons/book.png")}" alt="${_('Journal')}" />
                     </span>
                     <span>${_('Journal')}</span>                 
                     </a>        
@@ -303,7 +303,7 @@
                 <li>
                     <a title="${_('Search')}"  href="${h.url('search')}">
                     <span class="icon">
-                        <img src="/images/icons/search_16.png" alt="${_('Search')}" />
+                        <img src="${h.url("/images/icons/search_16.png")}" alt="${_('Search')}" />
                     </span>
                     <span>${_('Search')}</span>                 
                     </a>        
@@ -313,7 +313,7 @@
                 <li ${is_current('admin')}>
                    <a title="${_('Admin')}" href="${h.url('admin_home')}">
                    <span class="icon">
-                       <img src="/images/icons/cog_edit.png" alt="${_('Admin')}" />
+                       <img src="${h.url("/images/icons/cog_edit.png")}" alt="${_('Admin')}" />
                    </span>
                    <span>${_('Admin')}</span>                 
                    </a>
--- a/rhodecode/templates/changelog/changelog.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/changelog/changelog.html	Tue Feb 15 19:09:29 2011 +0100
@@ -68,7 +68,7 @@
 									</div>					
 										%if len(cs.parents)>1:
 										<div class="merge">
-											${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/>
+											${_('merge')}<img alt="merge" src="${h.url("/images/icons/arrow_join.png")}"/>
 										</div>
 										%endif
 								   %if cs.parents:							
--- a/rhodecode/templates/changeset/changeset.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/changeset/changeset.html	Tue Feb 15 19:09:29 2011 +0100
@@ -55,7 +55,7 @@
 		             </div>                  
 		                 %if len(c.changeset.parents)>1:
 		                 <div class="merge">
-		                     ${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/>
+		                     ${_('merge')}<img alt="merge" src="${h.url("/images/icons/arrow_join.png")}"/>
 		                 </div>
 		                 %endif
 		                 
--- a/rhodecode/templates/errors/error_document.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/errors/error_document.html	Tue Feb 15 19:09:29 2011 +0100
@@ -7,7 +7,7 @@
 	    %if c.redirect_time:
 	        <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
 	    %endif        
-        <link rel="icon" href="/images/hgicon.png" type="image/png" />
+        <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" />
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
--- a/rhodecode/templates/index.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/index.html	Tue Feb 15 19:09:29 2011 +0100
@@ -61,18 +61,18 @@
 		            <div style="white-space: nowrap">
 		             ## 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
 		             %if repo['dbrepo']['private']:
-		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/>
+		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/>
 		             %else:
-		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/>
+		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/>
 		             %endif
 		            
 		            ##NAME   
@@ -82,7 +82,7 @@
 		            	<a href="${h.url('summary_home',repo_name=repo['dbrepo_fork']['repo_name'])}">
 		            	<img class="icon" alt="${_('fork')}"
 		            	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
 		            </div>
 		            </td>
--- a/rhodecode/templates/journal/journal.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/journal/journal.html	Tue Feb 15 19:09:29 2011 +0100
@@ -38,7 +38,7 @@
 		    %for entry in c.following:
 		        <div class="currently_following">
 		            %if entry.follows_user_id:
-		              <img title="${_('following user')}" alt="${_('user')}" src="/images/icons/user.png"/>
+		              <img title="${_('following user')}" alt="${_('user')}" src="${h.url("/images/icons/user.png")}"/>
 		              ${entry.follows_user.full_contact}
 		            %endif
 		            
@@ -50,9 +50,9 @@
                       </span>		            
 		              </div>
 		              %if entry.follows_repository.private:
-		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/>
+		                <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/>
 		              %else:
-		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/>
+		                <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/>
 		              %endif
 		              
 		              ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',
--- a/rhodecode/templates/login.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/login.html	Tue Feb 15 19:09:29 2011 +0100
@@ -4,7 +4,7 @@
     <head>
         <title>${_('Sign In')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-        <link rel="icon" href="/images/icons/database_gear.png" type="image/png" />
+        <link rel="icon" href="${h.url("/images/icons/database_gear.png")}" type="image/png" />
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
--- a/rhodecode/templates/password_reset.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/password_reset.html	Tue Feb 15 19:09:29 2011 +0100
@@ -4,7 +4,7 @@
     <head>
         <title>${_('Reset You password')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-        <link rel="icon" href="/images/hgicon.png" type="image/png" />
+        <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" />
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
--- a/rhodecode/templates/register.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/register.html	Tue Feb 15 19:09:29 2011 +0100
@@ -4,7 +4,7 @@
     <head>
         <title>${_('Sign Up')} - ${c.rhodecode_name}</title>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-        <link rel="icon" href="/images/hgicon.png" type="image/png" />
+        <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" />
         <meta name="robots" content="index, nofollow"/>
             
         <!-- stylesheets -->
--- a/rhodecode/templates/summary/summary.html	Tue Feb 15 18:52:08 2011 +0100
+++ b/rhodecode/templates/summary/summary.html	Tue Feb 15 19:09:29 2011 +0100
@@ -32,16 +32,16 @@
 			  </div>
 			  <div class="input-short">
 		         %if c.dbrepo.repo_type =='hg':
-		           <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/>
+		           <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
 		         %endif
 		         %if c.dbrepo.repo_type =='git':
-		           <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/>
+		           <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
 		         %endif 
                                  			  
 	             %if c.dbrepo.private:
-	                <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/>
+	                <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/>
 	             %else:
-	                <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/>
+	                <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/>
 	             %endif
 			      <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${c.repo.name}</span>
 			      %if c.rhodecode_user.username != 'default':
@@ -61,7 +61,7 @@
 		            	<a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}">
 		            	<img class="icon" alt="${_('public')}"
 		            	title="${_('Fork of')} ${c.dbrepo.fork.repo_name}" 
-		            	src="/images/icons/arrow_divide.png"/>
+		            	src="${h.url("/images/icons/arrow_divide.png")}"/>
 		            	${_('Fork of')} ${c.dbrepo.fork.repo_name}
 		            	</a>
 		            	</span>