diff --git a/docs-web/src/main/webapp/src/app/docs/app.js b/docs-web/src/main/webapp/src/app/docs/app.js index 5a1860c3..9e1891fa 100644 --- a/docs-web/src/main/webapp/src/app/docs/app.js +++ b/docs-web/src/main/webapp/src/app/docs/app.js @@ -173,6 +173,14 @@ angular.module('docs', } } }) + .state('document.view.content.file', { + url: '/file/:fileId', + views: { + 'file': { + controller: 'FileView' + } + } + }) .state('document.view.permissions', { url: '/permissions', views: { @@ -191,14 +199,6 @@ angular.module('docs', } } }) - .state('document.view.file', { - url: '/file/:fileId', - views: { - 'file': { - controller: 'FileView' - } - } - }) .state('login', { url: '/login', views: { diff --git a/docs-web/src/main/webapp/src/app/docs/controller/DocumentViewContent.js b/docs-web/src/main/webapp/src/app/docs/controller/DocumentViewContent.js index bab5b48d..44fbe3ff 100644 --- a/docs-web/src/main/webapp/src/app/docs/controller/DocumentViewContent.js +++ b/docs-web/src/main/webapp/src/app/docs/controller/DocumentViewContent.js @@ -38,7 +38,7 @@ angular.module('docs').controller('DocumentViewContent', function ($scope, $stat * Navigate to the selected file. */ $scope.openFile = function (file) { - $state.go('document.view.file', { id: $stateParams.id, fileId: file.id }) + $state.go('document.view.content.file', { id: $stateParams.id, fileId: file.id }) }; /** diff --git a/docs-web/src/main/webapp/src/partial/docs/directive.auditlog.html b/docs-web/src/main/webapp/src/partial/docs/directive.auditlog.html index 30125536..6b4ee994 100644 --- a/docs-web/src/main/webapp/src/partial/docs/directive.auditlog.html +++ b/docs-web/src/main/webapp/src/partial/docs/directive.auditlog.html @@ -15,7 +15,7 @@ {{ log.message }} - Open + Open See diff --git a/docs-web/src/main/webapp/src/partial/docs/document.view.content.html b/docs-web/src/main/webapp/src/partial/docs/document.view.content.html index 9e1a3021..1c36141b 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.view.content.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.view.content.html @@ -3,7 +3,7 @@
- - -
-
+
+ +
+ Comments +
+
\ No newline at end of file