Changeset - c5e330c4ed65
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-03-27 17:12:59
marcin@python-works.com
small fixes to summary page
1 file changed with 12 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/summary/summary.html
Show inline comments
 
@@ -42,6 +42,8 @@
 
                      </span>
 
                      %endif
 
                  %endif:			  
 
                 
 
                 ##REPO TYPE
 
		         %if c.dbrepo.repo_type =='hg':
 
		           <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/>
 
		         %endif
 
@@ -49,32 +51,37 @@
 
		           <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/>
 
		         %endif 
 
                                 			  
 
                 ##PUBLIC/PRIVATE     			  
 
	             %if c.dbrepo.private:
 
	                <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="${h.url("/images/icons/lock_open.png")}"/>
 
	             %endif
 
			      <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${h.repo_link(c.dbrepo.groups_and_repo)}</span>
 
	             
 
	              ##REPO NAME
 
			      <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;clear:right">${h.repo_link(c.dbrepo.groups_and_repo)}</span>
 

	
 
                  ##FORK
 
		            %if c.dbrepo.fork:
 
		            	<span style="margin-top:5px">
 
	            	<div style="margin-top:5px;clear:both"">
 
		            	<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="${h.url("/images/icons/arrow_divide.png")}"/>
 
		            	${_('Fork of')} ${c.dbrepo.fork.repo_name}
 
		            	</a>
 
		            	</span>
 
	            	</div>
 
		            %endif
 
		          ##REMOTE
 
					%if c.dbrepo.clone_uri:
 
                        <span style="margin-top:5px">
 
                    <div style="margin-top:5px;clear:both">
 
                        <a href="${h.url(str(c.dbrepo.clone_uri))}">
 
                        <img class="icon" alt="${_('remote clone')}"
 
                        title="${_('Clone from')} ${c.dbrepo.clone_uri}" 
 
                        src="${h.url("/images/icons/connect.png")}"/>
 
                        ${_('Clone from')} ${c.dbrepo.clone_uri}
 
                        </a>
 
                        </span>					
 
                    </div>					
 
					%endif		            		      
 
			  </div>
 
			 </div>
0 comments (0 inline, 0 general)