diff --git a/awx/ui/client/src/activity-stream/factories/show-detail.factory.js b/awx/ui/client/src/activity-stream/factories/show-detail.factory.js index d0a1da8bfe..e275013acc 100644 --- a/awx/ui/client/src/activity-stream/factories/show-detail.factory.js +++ b/awx/ui/client/src/activity-stream/factories/show-detail.factory.js @@ -1,5 +1,5 @@ export default - function ShowDetail($filter, Find) { + function ShowDetail($filter, Find, ParseTypeChange, ParseVariableString) { return function (params, scope) { var activity_id = params.activity_id, @@ -20,6 +20,13 @@ export default scope.operation = activity.description; scope.header = "Event " + activity.id; + scope.variables = ParseVariableString(scope.changes); + scope.parseType = 'json'; + ParseTypeChange({ scope: scope, + field_id: 'activity-stream-changes', + readOnly: true }); + scope.parseTypeChange('parseType', 'variables'); + // Open the modal $('#stream-detail-modal').modal({ show: true, @@ -35,4 +42,4 @@ export default }; } - ShowDetail.$inject = ['$filter', 'Find']; + ShowDetail.$inject = ['$filter', 'Find', 'ParseTypeChange', 'ParseVariableString']; diff --git a/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.block.less b/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.block.less index dff4479904..de9445942f 100644 --- a/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.block.less +++ b/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.block.less @@ -9,6 +9,7 @@ .StreamDetail-rowTitle { color: @default-interface-txt; + font-size: 12px; } .StreamDetail-inlineRowTitle { diff --git a/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.partial.html b/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.partial.html index 9735fd6e17..fb08ec98de 100644 --- a/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.partial.html +++ b/awx/ui/client/src/activity-stream/streamDetailModal/streamDetailModal.partial.html @@ -1,29 +1,36 @@