From aa6fc6d8bfe7e5f45fa7721f3e74f70ff50bd220 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 27 Apr 2018 15:38:12 -0400 Subject: [PATCH] only show close icon in templates panel header when applicable --- .../features/templates/index.controller.js | 4 ++-- .../client/features/templates/index.view.html | 24 +++++++++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/awx/ui/client/features/templates/index.controller.js b/awx/ui/client/features/templates/index.controller.js index 5f305345a9..c859255070 100644 --- a/awx/ui/client/features/templates/index.controller.js +++ b/awx/ui/client/features/templates/index.controller.js @@ -11,9 +11,9 @@ function IndexTemplatesController ($scope, strings, dataset) { } IndexTemplatesController.$inject = [ - '$scope', + '$scope', 'TemplatesStrings', - 'Dataset', + 'Dataset' ]; export default IndexTemplatesController; diff --git a/awx/ui/client/features/templates/index.view.html b/awx/ui/client/features/templates/index.view.html index 6323fd8129..5f6ae703f6 100644 --- a/awx/ui/client/features/templates/index.view.html +++ b/awx/ui/client/features/templates/index.view.html @@ -1,10 +1,20 @@
- - - {{:: vm.strings.get('list.PANEL_TITLE') }} -
- {{ vm.count }} -
-
+ +
+ + {{:: vm.strings.get('list.PANEL_TITLE') }} +
+ {{ vm.count }} +
+
+
+
+ + {{:: vm.strings.get('list.PANEL_TITLE') }} +
+ {{ vm.count }} +
+
+