From 9cfd264103c3a39878392b0ea3c1ec298bf8a57d Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 23 Apr 2018 16:57:43 -0400 Subject: [PATCH] specifically bind html only the row items that need it for new lists in the ui --- awx/ui/client/features/templates/templatesList.view.html | 4 ++-- awx/ui/client/lib/components/list/row-item.directive.js | 1 + awx/ui/client/lib/components/list/row-item.partial.html | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/features/templates/templatesList.view.html b/awx/ui/client/features/templates/templatesList.view.html index fee9f2b31a..e68ddef8fb 100644 --- a/awx/ui/client/features/templates/templatesList.view.html +++ b/awx/ui/client/features/templates/templatesList.view.html @@ -77,11 +77,11 @@ + value-bind-html="{{ vm.getModified(template) }}"> + value-bind-html="{{ vm.getLastRan(template) }}"> diff --git a/awx/ui/client/lib/components/list/row-item.directive.js b/awx/ui/client/lib/components/list/row-item.directive.js index 296aa28249..ea116cc5cc 100644 --- a/awx/ui/client/lib/components/list/row-item.directive.js +++ b/awx/ui/client/lib/components/list/row-item.directive.js @@ -19,6 +19,7 @@ function atRowItem () { labelState: '@', value: '@', valueLink: '@', + valueBindHtml: '@', smartStatus: '=?', tagValues: '=?', // TODO: add see more for tags if applicable diff --git a/awx/ui/client/lib/components/list/row-item.partial.html b/awx/ui/client/lib/components/list/row-item.partial.html index d504f0f928..4783993acc 100644 --- a/awx/ui/client/lib/components/list/row-item.partial.html +++ b/awx/ui/client/lib/components/list/row-item.partial.html @@ -1,5 +1,5 @@
+ ng-show="status || headerValue || value || valueBindHtml || (smartStatus && smartStatus.summary_fields.recent_jobs.length) || (tagValues && tagValues.length)"> +
+