diff rhodecode/templates/summary/summary.html @ 636:ffd07396d315 beta

Fixes for raw_id, needed for git Renamed hg controller to home css html changes
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 26 Oct 2010 03:20:32 +0200
parents fd63782c4426
children b04d5214fd3c
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html	Mon Oct 25 03:19:01 2010 +0200
+++ b/rhodecode/templates/summary/summary.html	Tue Oct 26 03:20:32 2010 +0200
@@ -42,10 +42,19 @@
 			      <label>${_('Name')}:</label>
 			  </div>
 			  <div class="input-short">
+			  
+		          %if c.repo_info.dbrepo.repo_type =='hg':
+		            <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="/images/icons/hgicon.png"/>
+		          %elif c.repo_info.dbrepo.repo_type =='git':
+		            <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="/images/icons/giticon.png"/>
+		          %else:
+		            
+		          %endif 
+                                 			  
 	             %if c.repo_info.dbrepo.private:
-	                <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private')}" src="/images/icons/lock.png"/>
+	                <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/>
 	             %else:
-	                <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public')}" src="/images/icons/lock_open.png"/>
+	                <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/>
 	             %endif
 			      <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${c.repo_info.name}</span>
 			      <br/>