Skip to content

Commit

Permalink
squash me
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Aug 3, 2017
1 parent 0bd24d6 commit 9a51552
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app/assets/javascripts/components/widget-report.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ManageIQ.angular.app.component('widgetReport', {
bindings: {
id: '<'
id: '<',
},
controllerAs: 'vm',
controller: ['$http', 'miqService', '$sce', function($http, miqService, $sce) {
Expand All @@ -18,20 +18,20 @@ ManageIQ.angular.app.component('widgetReport', {
}],
template: [
'<div class="mc" id={{vm.div_id}}>',
'<div class="blank-slate-pf " style="padding: 10px" ng-if="!vm.contentPresent()">',
'<div class="blank-slate-pf-icon">',
'<i class="fa fa-cog">',
'</i>',
'<h1>',
__('No report data found.'),
'</h1>',
'</div>',
'</div>',
'<div ng-if="vm.contentPresent()">',
'<div ng-bind-html="vm.widgetReportModel.content">',
'</div>',
'</div>',
'</div>'
'<div class="blank-slate-pf " style="padding: 10px" ng-if="!vm.contentPresent()">',
'<div class="blank-slate-pf-icon">',
'<i class="fa fa-cog">',
'</i>',
'<h1>',
__('No report data found.'),
'</h1>',
'</div>',
'</div>',
'<div ng-if="vm.contentPresent()">',
'<div ng-bind-html="vm.widgetReportModel.content">',
'</div>',
'</div>',
'</div>',

].join("\n")
].join("\n"),
});

0 comments on commit 9a51552

Please sign in to comment.