1
- < div ng-if ="!isMiniLayout " class ="card-pf card-pf-aggregate-status " ng-class ="{'card-pf-accented': shouldShowTopBorder, 'card-pf-aggregate-status-alt': isAltLayout} ">
1
+ < div ng-if ="!$ctrl. isMiniLayout " class ="card-pf card-pf-aggregate-status " ng-class ="{'card-pf-accented': $ctrl. shouldShowTopBorder, 'card-pf-aggregate-status-alt': $ctrl. isAltLayout} ">
2
2
< h2 class ="card-pf-title ">
3
- < a href ="{{status.href}} " ng-if ="status.href ">
4
- < image ng-if ="status.iconImage " ng-src ="{{status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
5
- < span class ="{{status.iconClass}} "> </ span >
6
- < span class ="card-pf-aggregate-status-count "> {{status.count}}</ span >
7
- < span class ="card-pf-aggregate-status-title "> {{status.title}}</ span >
3
+ < a href ="{{$ctrl. status.href}} " ng-if ="$ctrl. status.href ">
4
+ < image ng-if ="$ctrl. status.iconImage " ng-src ="{{$ctrl. status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
5
+ < span class ="{{$ctrl. status.iconClass}} "> </ span >
6
+ < span class ="card-pf-aggregate-status-count "> {{$ctrl. status.count}}</ span >
7
+ < span class ="card-pf-aggregate-status-title "> {{$ctrl. status.title}}</ span >
8
8
</ a >
9
- < span ng-if ="!status.href ">
10
- < image ng-if ="status.iconImage " ng-src ="{{status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
11
- < span class ="{{status.iconClass}} "> </ span >
12
- < span class ="card-pf-aggregate-status-count "> {{status.count}}</ span >
13
- < span class ="card-pf-aggregate-status-title "> {{status.title}}</ span >
9
+ < span ng-if ="!$ctrl. status.href ">
10
+ < image ng-if ="$ctrl. status.iconImage " ng-src ="{{$ctrl. status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
11
+ < span class ="{{$ctrl. status.iconClass}} "> </ span >
12
+ < span class ="card-pf-aggregate-status-count "> {{$ctrl. status.count}}</ span >
13
+ < span class ="card-pf-aggregate-status-title "> {{$ctrl. status.title}}</ span >
14
14
</ span >
15
15
</ h2 >
16
16
< div class ="card-pf-body ">
17
17
< p class ="card-pf-aggregate-status-notifications ">
18
- < span class ="card-pf-aggregate-status-notification " ng-repeat ="notification in status.notifications ">
18
+ < span class ="card-pf-aggregate-status-notification " ng-repeat ="notification in $ctrl. status.notifications ">
19
19
< a href ="{{notification.href}} " ng-if ="notification.href ">
20
20
< image ng-if ="notification.iconImage " ng-src ="{{notification.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
21
21
< span class ="{{notification.iconClass}} "> </ span > {{ notification.count }}
@@ -28,29 +28,29 @@ <h2 class="card-pf-title">
28
28
</ p >
29
29
</ div >
30
30
</ div >
31
- < div ng-if ="isMiniLayout " class ="card-pf card-pf-aggregate-status card-pf-aggregate-status-mini " ng-class ="{'card-pf-accented': shouldShowTopBorder} ">
31
+ < div ng-if ="$ctrl. isMiniLayout " class ="card-pf card-pf-aggregate-status card-pf-aggregate-status-mini " ng-class ="{'card-pf-accented': $ctrl. shouldShowTopBorder} ">
32
32
< h2 class ="card-pf-title ">
33
- < a ng-if ="status.href " href ="{{status.href}} ">
34
- < image ng-if ="status.iconImage " ng-src ="{{status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
35
- < span ng-if ="status.iconClass " class ="{{status.iconClass}} "> </ span >
36
- < span class ="card-pf-aggregate-status-count "> {{status.count}}</ span >
37
- {{status.title}}
33
+ < a ng-if ="$ctrl. status.href " href ="{{$ctrl. status.href}} ">
34
+ < image ng-if ="$ctrl. status.iconImage " ng-src ="{{$ctrl. status.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
35
+ < span ng-if ="$ctrl. status.iconClass " class ="{{$ctrl. status.iconClass}} "> </ span >
36
+ < span class ="card-pf-aggregate-status-count "> {{$ctrl. status.count}}</ span >
37
+ {{$ctrl. status.title}}
38
38
</ a >
39
- < span ng-if ="!status.href ">
40
- < span class ="card-pf-aggregate-status-count "> {{status.count}}</ span >
41
- {{status.title}}
39
+ < span ng-if ="!$ctrl. status.href ">
40
+ < span class ="card-pf-aggregate-status-count "> {{$ctrl. status.count}}</ span >
41
+ {{$ctrl. status.title}}
42
42
</ span >
43
43
</ h2 >
44
44
< div class ="card-pf-body ">
45
- < p ng-if ="status.notification.iconImage || status.notification.iconClass || status.notification.count " class ="card-pf-aggregate-status-notifications ">
45
+ < p ng-if ="$ctrl. status.notification.iconImage || $ctrl. status.notification.iconClass || $ctrl. status.notification.count " class ="card-pf-aggregate-status-notifications ">
46
46
< span class ="card-pf-aggregate-status-notification ">
47
- < a ng-if ="status.notification.href " href ="{{status.notification.href}} ">
48
- < image ng-if ="status.notification.iconImage " ng-src ="{{status.notification.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
49
- < span ng-if ="status.notification.iconClass " class ="{{status.notification.iconClass}} "> </ span > < span ng-if ="status.notification.count "> {{status.notification.count}}</ span >
47
+ < a ng-if ="$ctrl. status.notification.href " href ="{{$ctrl. status.notification.href}} ">
48
+ < image ng-if ="$ctrl. status.notification.iconImage " ng-src ="{{$ctrl. status.notification.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
49
+ < span ng-if ="$ctrl. status.notification.iconClass " class ="{{$ctrl. status.notification.iconClass}} "> </ span > < span ng-if ="$ctrl. status.notification.count "> {{$ctrl. status.notification.count}}</ span >
50
50
</ a >
51
- < span ng-if ="!status.notification.href ">
52
- < image ng-if ="status.notification.iconImage " ng-src ="{{status.notification.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
53
- < span ng-if ="status.notification.iconClass " class ="{{status.notification.iconClass}} "> </ span > < span ng-if ="status.notification.count "> {{status.notification.count}}</ span >
51
+ < span ng-if ="!$ctrl. status.notification.href ">
52
+ < image ng-if ="$ctrl. status.notification.iconImage " ng-src ="{{$ctrl. status.notification.iconImage}} " alt ="" class ="card-pf-icon-image "> </ image >
53
+ < span ng-if ="$ctrl. status.notification.iconClass " class ="{{$ctrl. status.notification.iconClass}} "> </ span > < span ng-if ="$ctrl. status.notification.count "> {{$ctrl. status.notification.count}}</ span >
54
54
</ span >
55
55
</ span >
56
56
</ p >
0 commit comments