mirror of https://github.com/apache/archiva.git
add link to user documentation on archiva website
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394518 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9866e6629d
commit
a1137adb73
|
@ -59,6 +59,7 @@ define("archiva.docs",["jquery","i18n","jquery.tmpl","bootstrap"], function() {
|
|||
|
||||
displayUsersDocs=function(){
|
||||
$.log("displayUsersDocs");
|
||||
window.open("");
|
||||
}
|
||||
|
||||
});
|
|
@ -198,8 +198,8 @@ function(jquery,ui,sammy,tmpl) {
|
|||
|
||||
this.docsMenuItems = [
|
||||
{ text : $.i18n.prop('menu.docs') , id: null},
|
||||
{ text : $.i18n.prop('menu.docs.rest') , id: "menu-docs-rest-list-a", href: "#docs-rest", func: function(){displayRestDocs()}},
|
||||
{ text : $.i18n.prop('menu.docs.users') , id: "menu-docs-users-list-a", href: "#docs-users" , func: function(){displayUsersDocs()}}
|
||||
{ text : $.i18n.prop('menu.docs.rest') , id: "menu-docs-rest-list-a", href: "#docs-rest", target: "", func: function(){displayRestDocs()}},
|
||||
{ text : $.i18n.prop('menu.docs.users') , id: "menu-docs-users-list-a", href: "http://archiva.apache.org/docs/"+window.archivaRuntimeInfo.version, target: "_blank", func: function(){displayUsersDocs()}}
|
||||
];
|
||||
|
||||
this.activeMenuId = ko.observable();
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<!-- /ko -->
|
||||
<!-- ko if: id -->
|
||||
<li data-bind='redbackP: $data.redback, css: { active: $data.href == "#"+$root.activeMenuId() }'>
|
||||
<a data-bind="text: text, attr: { id: id, href: href}"></a>
|
||||
<a data-bind="text: text, attr: { id: id, href: href, target: target}"></a>
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue