Commit 3d542803 authored by hadi's avatar hadi
Browse files

improve toolbar widget

parent 7a7a3011
......@@ -7,11 +7,12 @@
<md-button
hide show-gt-md
ng-repeat="feature in wbModel.features | limitTo: 8"
aria-label="menu"
aria-label="{{feature.title}}"
ng-click="runAction(feature)"
class="md-icon-button">
<img height="32px" ng-src="{{ feature.image }}" />
<md-tooltip>{{ feature.title }} <br/> {{ feature.text }}</md-tooltip>
ng-class="{'md-icon-button' : feature.image}">
<img ng-if="feature.image" height="32px" ng-src="{{ feature.image }}" />
<span ng-if="!feature.image">{{ feature.title }}</span>
<md-tooltip>{{ feature.text }}</md-tooltip>
</md-button>
<span flex></span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment