Mercurial > kallithea
changeset 1180:c5e330c4ed65 beta
small fixes to summary page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 27 Mar 2011 17:12:59 +0200 |
parents | 79283d4b1bed |
children | 36b12336cb7f |
files | rhodecode/templates/summary/summary.html |
diffstat | 1 files changed, 30 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html Sun Mar 27 14:46:38 2011 +0200 +++ b/rhodecode/templates/summary/summary.html Sun Mar 27 17:12:59 2011 +0200 @@ -42,40 +42,47 @@ </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 %if c.dbrepo.repo_type =='git': <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> - - %if c.dbrepo.fork: - <span style="margin-top:5px"> - <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> - %endif - %if c.dbrepo.clone_uri: - <span style="margin-top:5px"> - <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> - %endif + + ##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: + <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> + </div> + %endif + ##REMOTE + %if c.dbrepo.clone_uri: + <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> + </div> + %endif </div> </div>