Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/oui-navbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
links="asideLink.subLinks"
limit-to="asideLink.limitTo"
header-template="asideLink.headerTemplate"
header-title="{{asideLink.title}}"
header-title="{{asideLink.headerTitle}}"
footer-template="asideLink.footerTemplate"
footer-title="{{asideLink.footerTitle}}"
footer-href="{{asideLink.footerUrl}}"
Expand All @@ -69,7 +69,7 @@
<oui-navbar-menu ng-switch-default
header-class="oui-navbar_mobile-only"
header-breadcrumb="{{asideLink.headerBreadcrumb}}"
header-title="{{asideLink.title}}"
header-title="{{asideLink.headerTitle}}"
name="{{asideLink.name}}"
links="asideLink.subLinks"
align="end"
Expand Down Expand Up @@ -391,7 +391,7 @@ This property is only available for root links of `aside-links`.
links="asideLink.subLinks"
limit-to="asideLink.limitTo"
header-template="asideLink.headerTemplate"
header-title="{{asideLink.title}}"
header-title="{{asideLink.headerTitle}}"
footer-template="asideLink.footerTemplate"
footer-title="{{asideLink.footerTitle}}"
footer-href="{{asideLink.footerUrl}}"
Expand All @@ -407,7 +407,7 @@ This property is only available for root links of `aside-links`.
<oui-navbar-menu ng-switch-default
header-class="oui-navbar_mobile-only"
header-breadcrumb="{{asideLink.headerBreadcrumb}}"
header-title="{{asideLink.title}}"
header-title="{{asideLink.headerTitle}}"
name="{{asideLink.name}}"
links="asideLink.subLinks"
align="end"
Expand Down Expand Up @@ -486,7 +486,7 @@ subLinks = [];
name="{{$ctrl.placeholderNotification[0].name}}"
links="$ctrl.placeholderNotification[0].subLinks"
limit-to="$ctrl.placeholderNotification[0].limitTo"
header-title="{{$ctrl.placeholderNotification[0].title}}"
header-title="{{$ctrl.placeholderNotification[0].headerTitle}}"
align="end"
fixed></oui-navbar-notification>
</oui-navbar-dropdown>
Expand Down
2 changes: 1 addition & 1 deletion packages/oui-navbar/src/dropdown/navbar-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
ng-bind="$ctrl.iconBadge">
</span>
</span>
<span ng-bind="::$ctrl.text"></span>
<span ng-bind-html="::$ctrl.text"></span>
</button>
<div class="oui-navbar-menu__wrapper" ng-transclude></div>
8 changes: 5 additions & 3 deletions packages/oui-navbar/src/index.spec.data.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
{
"name": "notifications",
"class": "navbar-notification__list",
"title": "Notifications",
"title": "<div class=\"oui-color-gothic\">Your</div><span>notifications</span>",
"headerTitle": "Your notifications",
"iconClass": "oui-icon oui-icon-info_circle",
"iconAnimated": true,
"subLinks": [
Expand Down Expand Up @@ -84,7 +85,8 @@
},
{
"name": "libero",
"title": "Libero",
"title": "<div class=\"oui-color-gothic\">Need</div><span>help</span>",
"headerTitle": "Need help",
"iconClass": "oui-icon oui-icon-help_circle",
"subLinks": [
{
Expand Down Expand Up @@ -125,7 +127,7 @@
},
{
"name": "user",
"title": "User",
"title": "<div class=\"oui-color-text_oui-color-gothic\">Hello Username</div><span>your account</span>",
"iconClass": "oui-icon oui-icon-info_circle",
"subLinks": [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/oui-navbar/src/link/navbar-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'oui-navbar-link_tertiary': $ctrl.variant === 'tertiary'
}"
ng-href="{{::$ctrl.href}}"
ng-bind="::$ctrl.text"
ng-bind-html="::$ctrl.text"
ng-click="$ctrl.onClick()">
</a>
<a class="oui-navbar-link"
Expand All @@ -22,7 +22,7 @@
'oui-navbar-link_secondary': $ctrl.variant === 'secondary',
'oui-navbar-link_tertiary': $ctrl.variant === 'tertiary'
}"
ng-bind="::$ctrl.text"
ng-bind-html="::$ctrl.text"
ui-sref="{{::$ctrl.getFullSref()}}"
ui-sref-active="oui-navbar-link_active"
ng-click="$ctrl.onClick()">
Expand Down