From 37546d64952e4a40ea1e52a102cfd00df7991fcb Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 9 Apr 2018 11:20:26 -0400 Subject: [PATCH] move invalid list row properties to row component --- .../client/features/templates/list.view.html | 123 ------------------ .../templates/templatesList.view.html | 7 +- .../lib/components/list/row.directive.js | 4 +- .../lib/components/list/row.partial.html | 6 +- 4 files changed, 11 insertions(+), 129 deletions(-) delete mode 100644 awx/ui/client/features/templates/list.view.html diff --git a/awx/ui/client/features/templates/list.view.html b/awx/ui/client/features/templates/list.view.html deleted file mode 100644 index ba45081856..0000000000 --- a/awx/ui/client/features/templates/list.view.html +++ /dev/null @@ -1,123 +0,0 @@ -
- - - {{:: vm.strings.get('list.PANEL_TITLE') }} -
- {{ template_dataset.count }} -
-
- - -
- - -
- - -
-
- - - -
- -
-
- - - - - - - - - - - - - - - - - - - -
-
- - - - - - - - -
-
-
- - -
-
diff --git a/awx/ui/client/features/templates/templatesList.view.html b/awx/ui/client/features/templates/templatesList.view.html index 9b344955a9..206cce7acf 100644 --- a/awx/ui/client/features/templates/templatesList.view.html +++ b/awx/ui/client/features/templates/templatesList.view.html @@ -40,10 +40,9 @@ -
- -
+ template-id="{{ template.id }}" + invalid="vm.isInvalid(template)" + invalid-tooltip="vm.invalidTooltip">
+
+
+ +
+