mirror of https://github.com/apache/archiva.git
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:
parent
258f098ae6
commit
9866e6629d
|
@ -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
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue