@@ -9029,7 +9029,14 @@ angular.module('patternfly.navigation').component('pfApplicationLauncher', {
9029
9029
children: [
9030
9030
{
9031
9031
title: "Novum",
9032
- href: "#/ipsum/patrioque/novum"
9032
+ href: "#/ipsum/patrioque/novum",
9033
+ badges: [
9034
+ {
9035
+ count: 6,
9036
+ tooltip: "Total number of error items",
9037
+ badgeClass: 'example-error-background'
9038
+ }
9039
+ ]
9033
9040
},
9034
9041
{
9035
9042
title: "Pericula",
@@ -9068,15 +9075,35 @@ angular.module('patternfly.navigation').component('pfApplicationLauncher', {
9068
9075
children: [
9069
9076
{
9070
9077
title: "Delicatissimi",
9071
- href: "#/amet/detracto/delicatissimi"
9078
+ href: "#/amet/detracto/delicatissimi",
9079
+ badges: [
9080
+ {
9081
+ count: 6,
9082
+ tooltip: "Total number of error items",
9083
+ badgeClass: 'example-error-background'
9084
+ }
9085
+ ]
9072
9086
},
9073
9087
{
9074
9088
title: "Aliquam",
9075
- href: "#/amet/detracto/aliquam"
9089
+ href: "#/amet/detracto/aliquam",
9090
+ badges: [
9091
+ {
9092
+ count: 2,
9093
+ tooltip: "Total number of items"
9094
+ }
9095
+ ]
9076
9096
},
9077
9097
{
9078
9098
title: "Principes",
9079
- href: "#/amet/detracto/principes"
9099
+ href: "#/amet/detracto/principes",
9100
+ badges: [
9101
+ {
9102
+ count: 18,
9103
+ tooltip: "Total number of warning items",
9104
+ badgeClass: 'example-warning-background'
9105
+ }
9106
+ ]
9080
9107
}
9081
9108
]
9082
9109
},
@@ -9085,15 +9112,35 @@ angular.module('patternfly.navigation').component('pfApplicationLauncher', {
9085
9112
children: [
9086
9113
{
9087
9114
title: "Convenire",
9088
- href: "#/amet/mediocrem/convenire"
9115
+ href: "#/amet/mediocrem/convenire",
9116
+ badges: [
9117
+ {
9118
+ count: 6,
9119
+ tooltip: "Total number of error items",
9120
+ badgeClass: 'example-error-background'
9121
+ }
9122
+ ]
9089
9123
},
9090
9124
{
9091
9125
title: "Nonumy",
9092
- href: "#/amet/mediocrem/nonumy"
9126
+ href: "#/amet/mediocrem/nonumy",
9127
+ badges: [
9128
+ {
9129
+ count: 2,
9130
+ tooltip: "Total number of items"
9131
+ }
9132
+ ]
9093
9133
},
9094
9134
{
9095
9135
title: "Deserunt",
9096
- href: "#/amet/mediocrem/deserunt"
9136
+ href: "#/amet/mediocrem/deserunt",
9137
+ badges: [
9138
+ {
9139
+ count: 18,
9140
+ tooltip: "Total number of warning items",
9141
+ badgeClass: 'example-warning-background'
9142
+ }
9143
+ ]
9097
9144
}
9098
9145
]
9099
9146
},
@@ -9102,21 +9149,53 @@ angular.module('patternfly.navigation').component('pfApplicationLauncher', {
9102
9149
children: [
9103
9150
{
9104
9151
title: "Aeque",
9105
- href: "#/amet/corrumpit/aeque"
9152
+ href: "#/amet/corrumpit/aeque",
9153
+ badges: [
9154
+ {
9155
+ count: 6,
9156
+ tooltip: "Total number of error items",
9157
+ badgeClass: 'example-error-background'
9158
+ }
9159
+ ]
9106
9160
},
9107
9161
{
9108
9162
title: "Delenit",
9109
- href: "#/amet/corrumpit/delenit"
9163
+ href: "#/amet/corrumpit/delenit",
9164
+ badges: [
9165
+ {
9166
+ count: 2,
9167
+ tooltip: "Total number of items"
9168
+ }
9169
+ ]
9110
9170
},
9111
9171
{
9112
9172
title: "Qualisque",
9113
- href: "#/amet/corrumpit/qualisque"
9173
+ href: "#/amet/corrumpit/qualisque",
9174
+ badges: [
9175
+ {
9176
+ count: 18,
9177
+ tooltip: "Total number of warning items",
9178
+ badgeClass: 'example-warning-background'
9179
+ }
9180
+ ]
9114
9181
}
9115
9182
]
9116
9183
},
9117
9184
{
9118
- title: "urbanitas",
9119
- href: "#/amet/urbanitas"
9185
+ title: "Urbanitas",
9186
+ href: "#/amet/urbanitas",
9187
+ badges: [
9188
+ {
9189
+ count: 2,
9190
+ tooltip: "Total number of error items",
9191
+ iconClass: 'pficon pficon-error-circle-o'
9192
+ },
9193
+ {
9194
+ count: 6,
9195
+ tooltip: "Total number warning error items",
9196
+ iconClass: 'pficon pficon-warning-triangle-o'
9197
+ }
9198
+ ]
9120
9199
}
9121
9200
]
9122
9201
},
@@ -18238,7 +18317,7 @@ angular.module('patternfly.wizard').component('pfWizard', {
18238
18317
" 'mobile-secondary-item-pf': item.isMobileItem && $ctrl.showMobileTertiary}\" ng-mouseenter=$ctrl.handlePrimaryHover(item) ng-mouseleave=$ctrl.handlePrimaryUnHover(item)><a ng-click=\"$ctrl.handlePrimaryClick(item, $event)\"><span class={{item.iconClass}} ng-if=item.iconClass ng-class=\"{hidden: $ctrl.hiddenIcons}\" uib-tooltip={{item.title}} tooltip-append-to-body=true tooltip-enable={{$ctrl.navCollapsed}} tooltip-placement=bottom tooltip-class=nav-pf-vertical-tooltip></span> <span class=list-group-item-value>{{item.title}}</span><div ng-if=\"$ctrl.showBadges && item.badges\" class=badge-container-pf><div class=\"badge {{badge.badgeClass}}\" ng-repeat=\"badge in item.badges\" uib-tooltip={{badge.tooltip}} tooltip-append-to-body=true tooltip-placement=right><span ng-if=\"badge.count && badge.iconClass\" class={{badge.iconClass}}></span> <span ng-if=badge.count>{{badge.count}}</span></div></div></a><div ng-if=\"item.children && item.children.length > 0\" class=nav-pf-secondary-nav><div class=nav-item-pf-header><a class=secondary-collapse-toggle-pf ng-click=\"$ctrl.collapseSecondaryNav(item, $event)\" ng-class=\"{'collapsed': item.secondaryCollapsed}\"></a> <span>{{item.title}}</span></div><ul class=list-group><li ng-repeat=\"secondaryItem in item.children\" class=list-group-item ng-class=\"{'tertiary-nav-item-pf': secondaryItem.children && secondaryItem.children.length > 0,\n" +
18239
18318
" 'active': secondaryItem.isActive,\n" +
18240
18319
" 'is-hover': secondaryItem.isHover,\n" +
18241
- " 'mobile-nav-item-pf': secondaryItem.isMobileItem}\" ng-mouseenter=$ctrl.handleSecondaryHover(secondaryItem) ng-mouseleave=$ctrl.handleSecondaryUnHover(secondaryItem)><a ng-click=\"$ctrl.handleSecondaryClick(item, secondaryItem, $event)\"><span class=list-group-item-value>{{secondaryItem.title}}</span><div ng-if=\"showBadges && secondaryItem.badges\" class=badge-container-pf><div class=\"badge {{badge.badgeClass}}\" ng-repeat=\"badge in secondaryItem.badges\" uib-tooltip={{badge.tooltip}} tooltip-append-to-body=true tooltip-placement=right><span ng-if=\"badge.count && badge.iconClass\" class={{badge.iconClass}}></span> <span ng-if=badge.count>{{badge.count}}</span></div></div></a><div ng-if=\"secondaryItem.children && secondaryItem.children.length > 0\" class=nav-pf-tertiary-nav><div class=nav-item-pf-header><a class=tertiary-collapse-toggle-pf ng-click=\"$ctrl.collapseTertiaryNav(secondaryItem, $event)\" ng-class=\"{'collapsed': secondaryItem.tertiaryCollapsed}\"></a> <span>{{secondaryItem.title}}</span></div><ul class=list-group><li ng-repeat=\"tertiaryItem in secondaryItem.children\" class=list-group-item ng-class=\"{'active': tertiaryItem.isActive}\"><a ng-click=\"$ctrl.handleTertiaryClick(item, secondaryItem, tertiaryItem, $event)\"><span class=list-group-item-value>{{tertiaryItem.title}}</span><div ng-if=\"$ctrl.showBadges && tertiaryItem.badges\" class=badge-container-pf><div class=\"badge {{badge.badgeClass}}\" ng-repeat=\"badge in tertiaryItem.badges\" uib-tooltip={{badge.tooltip}} tooltip-append-to-body=true tooltip-placement=right><span ng-if=\"badge.count && badge.iconClass\" class={{badge.iconClass}}></span> <span ng-if=badge.count>{{badge.count}}</span></div></div></a></li></ul></div></li></ul></div></li></ul></div></nav></div>"
18320
+ " 'mobile-nav-item-pf': secondaryItem.isMobileItem}\" ng-mouseenter=$ctrl.handleSecondaryHover(secondaryItem) ng-mouseleave=$ctrl.handleSecondaryUnHover(secondaryItem)><a ng-click=\"$ctrl.handleSecondaryClick(item, secondaryItem, $event)\"><span class=list-group-item-value>{{secondaryItem.title}}</span><div ng-if=\"$ctrl.showBadges && secondaryItem.badges\" class=badge-container-pf><div class=\"badge {{badge.badgeClass}}\" ng-repeat=\"badge in secondaryItem.badges\" uib-tooltip={{badge.tooltip}} tooltip-append-to-body=true tooltip-placement=right><span ng-if=\"badge.count && badge.iconClass\" class={{badge.iconClass}}></span> <span ng-if=badge.count>{{badge.count}}</span></div></div></a><div ng-if=\"secondaryItem.children && secondaryItem.children.length > 0\" class=nav-pf-tertiary-nav><div class=nav-item-pf-header><a class=tertiary-collapse-toggle-pf ng-click=\"$ctrl.collapseTertiaryNav(secondaryItem, $event)\" ng-class=\"{'collapsed': secondaryItem.tertiaryCollapsed}\"></a> <span>{{secondaryItem.title}}</span></div><ul class=list-group><li ng-repeat=\"tertiaryItem in secondaryItem.children\" class=list-group-item ng-class=\"{'active': tertiaryItem.isActive}\"><a ng-click=\"$ctrl.handleTertiaryClick(item, secondaryItem, tertiaryItem, $event)\"><span class=list-group-item-value>{{tertiaryItem.title}}</span><div ng-if=\"$ctrl.showBadges && tertiaryItem.badges\" class=badge-container-pf><div class=\"badge {{badge.badgeClass}}\" ng-repeat=\"badge in tertiaryItem.badges\" uib-tooltip={{badge.tooltip}} tooltip-append-to-body=true tooltip-placement=right><span ng-if=\"badge.count && badge.iconClass\" class={{badge.iconClass}}></span> <span ng-if=badge.count>{{badge.count}}</span></div></div></a></li></ul></div></li></ul></div></li></ul></div></nav></div>"
18242
18321
);
18243
18322
18244
18323
}]);
0 commit comments