diff --git a/app/components/templates/templates.html b/app/components/templates/templates.html index 4cadd180c..8b273388c 100644 --- a/app/components/templates/templates.html +++ b/app/components/templates/templates.html @@ -250,7 +250,7 @@
-
+
@@ -289,7 +289,7 @@
Loading...
-
+
No templates available.
diff --git a/app/components/templates/templatesController.js b/app/components/templates/templatesController.js index 57fb2515a..5ead966ac 100644 --- a/app/components/templates/templatesController.js +++ b/app/components/templates/templatesController.js @@ -5,7 +5,6 @@ function ($scope, $q, $state, $stateParams, $anchorScroll, $filter, Config, Cont selectedTemplate: null, showAdvancedOptions: false, hideDescriptions: $stateParams.hide_descriptions, - pagination_count: Pagination.getPaginationCount('templates'), formValidationError: '', filters: { Categories: '!', @@ -18,10 +17,6 @@ function ($scope, $q, $state, $stateParams, $anchorScroll, $filter, Config, Cont name: '' }; - $scope.changePaginationCount = function() { - Pagination.setPaginationCount('templates', $scope.state.pagination_count); - }; - $scope.addVolume = function () { $scope.state.selectedTemplate.Volumes.push({ containerPath: '', name: '', readOnly: false, type: 'auto' }); };