Skip to content

Commit

Permalink
Display colored fonticons before custom buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 24, 2017
1 parent ecf6d75 commit 33a10e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/app/services/custom-button/custom-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ng-click="vm.invokeCustomAction(button)"
uib-tooltip="{{button.description}}"
tooltip-placement="top">
<i ng-class="button.options.button_icon" ng-style="{color: button.options.button_color }"></i>
{{ button.name }}
</button>
</span>
Expand All @@ -14,6 +15,7 @@
uib-dropdown-toggle
uib-tooltip="{{buttonGroup.description}}"
tooltip-placement="top">
<i ng-class="buttonGroup.set_data.button_icon" ng-style="{color: buttonGroup.set_data.button_color }"></i>
{{ buttonGroup.name.split('|')[0] }}
<span class="caret"></span>
</button>
Expand All @@ -26,6 +28,7 @@
ng-click="vm.invokeCustomAction(button)"
uib-tooltip="{{button.description}}"
tooltip-placement="left">
<i ng-class="button.options.button_icon" ng-style="{color: button.options.button_color }"></i>
{{ button.name }}
</a>
</li>
Expand Down

0 comments on commit 33a10e1

Please sign in to comment.