take care of navigation when navigating tru dependency tree entries

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1390894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-09-27 08:51:46 +00:00
parent 0705e92bd4
commit c01379f5bf
2 changed files with 7 additions and 3 deletions

View File

@ -157,3 +157,7 @@ footer {
margin: 15px 0 20px;
padding-bottom: 3px;
}
.cursor-hand:hover {
cursor: pointer;
}

View File

@ -742,12 +742,12 @@
{{var entries=treeEntry.artifact.crumbEntries()}}
{{each(j,crumbEntry) entries}}
{{if j < entries.length - 2}}
<a href="#" onclick="generalDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
<a class="cursor-hand" onclick="generalDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
{{else j == entries.length - 2}}
<a href="#" onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
<a class="cursor-hand" onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
{{else j == entries.length - 1}}
&nbsp;|&nbsp;<b>${$.i18n.prop('browse.artifact.version')}:</b>&nbsp;
<a href="#" onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>&nbsp;
<a class="cursor-hand" onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>&nbsp;
{{/if}}
{{if j < entries.length - 2}}
&nbsp;/&nbsp;