diff --git a/docs-web/src/main/webapp/src/app/docs/controller/Document.js b/docs-web/src/main/webapp/src/app/docs/controller/Document.js index 4c15e862..6af0d944 100644 --- a/docs-web/src/main/webapp/src/app/docs/controller/Document.js +++ b/docs-web/src/main/webapp/src/app/docs/controller/Document.js @@ -95,20 +95,6 @@ angular.module('docs').controller('Document', function($scope, $timeout, $state, $scope.loadDocuments(); }); - /** - * Go to add document form. - */ - $scope.addDocument = function() { - $state.transitionTo('document.add'); - }; - - /** - * Go to edit document form. - */ - $scope.editDocument = function(id) { - $state.transitionTo('document.edit', { id: id }); - }; - /** * Display a document. */ diff --git a/docs-web/src/main/webapp/src/partial/docs/document.html b/docs-web/src/main/webapp/src/partial/docs/document.html index 762b2ad3..1d773b59 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.html @@ -2,7 +2,7 @@

- + Add a document

@@ -34,7 +34,11 @@ - {{ document.title }} ({{ document.file_count }}) + + {{ document.title }} ({{ document.file_count }}) + + + {{ document.create_date | date: 'yyyy-MM-dd' }}
diff --git a/docs-web/src/main/webapp/src/partial/docs/document.view.html b/docs-web/src/main/webapp/src/partial/docs/document.view.html index 4550469c..7eb39f0c 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.view.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.view.html @@ -4,7 +4,7 @@
- + Edit