|
1 | 1 | <div class="oui-header-tabs__item" role="listitem"
|
2 | 2 | ui-sref-active="oui-header-tabs__item_active"
|
3 | 3 | ng-class="{ 'oui-header-tabs__item_active': $ctrl.active, 'oui-header-tabs__item_disabled': $ctrl.disabled }">
|
4 |
| - <a ng-attr-rel="{{::$ctrl.linkRel}}" |
5 |
| - ng-attr-target="{{::$ctrl.linkTarget}}" |
6 |
| - ng-href="{{::$ctrl.href}}" |
7 |
| - ng-if="!!$ctrl.href && !$ctrl.disabled" |
8 |
| - ng-click="$ctrl.onClick()"> |
| 4 | + <button class="oui-header-tabs__action" |
| 5 | + ng-bind="::$ctrl.text" |
| 6 | + ng-click="$ctrl.onClick()" |
| 7 | + ng-if="!$ctrl.href && !$ctrl.state && !$ctrl.disabled"> |
| 8 | + </button> |
| 9 | + <a class="oui-header-tabs__action" |
| 10 | + ng-attr-rel="{{::$ctrl.linkRel}}" |
| 11 | + ng-attr-target="{{::$ctrl.linkTarget}}" |
| 12 | + ng-href="{{::$ctrl.href}}" |
| 13 | + ng-if="!!$ctrl.href && !$ctrl.disabled" |
| 14 | + ng-click="$ctrl.onClick()"> |
9 | 15 | <span ng-bind="::$ctrl.text"></span>
|
10 | 16 | <span class="oui-icon oui-icon-external_link" aria-hidden="true"
|
11 |
| - ng-if="::$ctrl.external"> |
| 17 | + ng-if="::$ctrl.external"> |
12 | 18 | </span>
|
13 | 19 | </a>
|
14 |
| - <a ng-bind="::$ctrl.text" |
15 |
| - ng-click="$ctrl.onClick()" |
16 |
| - ng-if="!!$ctrl.state && !$ctrl.disabled" |
17 |
| - ui-sref="{{::$ctrl.getFullSref()}}"> |
| 20 | + <a class="oui-header-tabs__action" |
| 21 | + ng-bind="::$ctrl.text" |
| 22 | + ng-click="$ctrl.onClick()" |
| 23 | + ng-if="!!$ctrl.state && !$ctrl.disabled" |
| 24 | + ui-sref="{{::$ctrl.getFullSref()}}"> |
18 | 25 | </a>
|
19 |
| - <span ng-bind="::$ctrl.text" |
20 |
| - ng-if="!!$ctrl.disabled"></span> |
| 26 | + <span class="oui-header-tabs__action" |
| 27 | + ng-bind="::$ctrl.text" |
| 28 | + ng-if="!!$ctrl.disabled"> |
| 29 | + </span> |
21 | 30 | </div>
|
0 commit comments