mirror of https://github.com/apache/archiva.git
use a more generic name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1304225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d7ce7ac86e
commit
9dd6b36861
|
@ -265,16 +265,16 @@ $(function() {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencyTreeDisplayGroup=function(groupId) {
|
generalDisplayGroup=function(groupId) {
|
||||||
var parentBrowseViewModel=new BrowseViewModel(null,null,null);
|
var parentBrowseViewModel=new BrowseViewModel(null,null,null);
|
||||||
displayGroupDetail(groupId,parentBrowseViewModel,null);
|
displayGroupDetail(groupId,parentBrowseViewModel,null);
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencyTreeDisplayArtifactDetailView=function(groupId, artifactId){
|
generalDisplayArtifactDetailView=function(groupId, artifactId){
|
||||||
displayArtifactDetail(groupId, artifactId);
|
displayArtifactDetail(groupId, artifactId);
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencyTreeDisplayArtifactVersionDetailViewModel=function(groupId,artifactId,version){
|
generalDisplayArtifactVersionDetailViewModel=function(groupId,artifactId,version){
|
||||||
var artifactVersionDetailViewModel = new ArtifactVersionDetailViewModel (groupId,artifactId,version)
|
var artifactVersionDetailViewModel = new ArtifactVersionDetailViewModel (groupId,artifactId,version)
|
||||||
artifactVersionDetailViewModel.display();
|
artifactVersionDetailViewModel.display();
|
||||||
}
|
}
|
||||||
|
|
|
@ -682,12 +682,12 @@
|
||||||
{{var entries=treeEntry.artifact.crumbEntries()}}
|
{{var entries=treeEntry.artifact.crumbEntries()}}
|
||||||
{{each(j,crumbEntry) entries}}
|
{{each(j,crumbEntry) entries}}
|
||||||
{{if j < entries.length - 2}}
|
{{if j < entries.length - 2}}
|
||||||
<a href="#" onclick="dependencyTreeDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
|
<a href="#" onclick="generalDisplayGroup(encodeURIComponent('${crumbEntry.groupId}'))">${crumbEntry.displayValue}</a>
|
||||||
{{else j == entries.length - 2}}
|
{{else j == entries.length - 2}}
|
||||||
<a href="#" onclick="dependencyTreeDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
<a href="#" onclick="generalDisplayArtifactDetailView(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'))">${crumbEntry.displayValue}</a>
|
||||||
{{else j == entries.length - 1}}
|
{{else j == entries.length - 1}}
|
||||||
| <b>${$.i18n.prop('browse.artifact.version')}:</b>
|
| <b>${$.i18n.prop('browse.artifact.version')}:</b>
|
||||||
<a href="#" onclick="dependencyTreeDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
<a href="#" onclick="generalDisplayArtifactVersionDetailViewModel(encodeURIComponent('${crumbEntry.groupId}'),encodeURIComponent('${crumbEntry.artifactId}'),encodeURIComponent('${crumbEntry.version}'))">${crumbEntry.version}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if j < entries.length - 2}}
|
{{if j < entries.length - 2}}
|
||||||
/
|
/
|
||||||
|
|
Loading…
Reference in New Issue