changeset 3782:c7c4855517c4 beta

summary: don't link from 'Fork of' text - only repo name should link
author Mads Kiilerich <madski@unity3d.com>
date Wed, 10 Apr 2013 03:00:38 +0200
parents 40d50bb7cf2f
children f533c054fb19
files rhodecode/templates/summary/summary.html
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html	Wed Apr 10 03:00:38 2013 +0200
+++ b/rhodecode/templates/summary/summary.html	Wed Apr 10 03:00:38 2013 +0200
@@ -85,17 +85,17 @@
                   ##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>
+                        <img class="icon" alt="${_('Public')}" title="${_('Fork of')} ${c.dbrepo.fork.repo_name}" src="${h.url('/images/icons/arrow_divide.png')}"/>
+                        ${_('Fork of')}
+                        <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}">${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(h.hide_credentials(c.dbrepo.clone_uri)))}"><img class="icon" alt="${_('Remote clone')}" title="${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)}" src="${h.url('/images/icons/connect.png')}"/>
-                        ${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)}
-                    </a>
+                        ${_('Clone from')}
+                        <img class="icon" alt="${_('Remote clone')}" title="${_('Clone from')} ${h.hide_credentials(c.dbrepo.clone_uri)}" src="${h.url('/images/icons/connect.png')}"/>
+                        <a href="${h.url(str(h.hide_credentials(c.dbrepo.clone_uri)))}">${h.hide_credentials(c.dbrepo.clone_uri)}</a>
                     </div>
                   %endif
               </div>