fix doc navigation and add missing i18n

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394517 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-05 13:43:02 +00:00
parent 258f098ae6
commit 9866e6629d
2 changed files with 5 additions and 11 deletions

View File

@ -498,3 +498,7 @@ proxy-connector-rule.pattern.already.exists=Same ProxyConnector rule already exi
proxy-connector-rule.pattern.connectors.empty=You must select proxyConnectors.
menu.docs.users=User Documentation
menu.docs.rest=REST Api
docs.rest.header=REST Apis Documentations
menu.docs=Documentation

View File

@ -39,17 +39,7 @@ define("archiva.docs",["jquery","i18n","jquery.tmpl","bootstrap"], function() {
}
displayArchivaRestDocs=function(){
$.log("displayArchivaRestDocs");
$("#main-content" ).html(mediumSpinnerImg());
$.ajax({
url:"rest-docs/rest-docs-archiva-rest-api/index.html",
type:"get",
dataType: "html",
success: function(data){
$("#main-content" ).html($("#rest_docs").tmpl());
$("#main-content" ).find("#rest_docs_content" ).html(data);
}
});
window.sammyArchivaApplication.setLocation("#rest-docs-archiva-rest-api/index.html");
}
loadRestDocs=function(docType, fullPath){