Pony.fm/public/templates/directives/favourite-button.html

11 lines
455 B
HTML
Raw Permalink Normal View History

<a href="#" class="btn btn-default favourite-button" ng-class="{'is-favourited': resource.is_favourited, disabled: isWorking}" pfm-eat-click ng-click="toggleFavourite()" ng-show="auth.isLogged">
2015-10-25 03:35:37 +01:00
<span ng-hide="resource.user_data.is_favourited">
Favourite This!
2016-05-21 20:29:07 +02:00
<i class="fa fa-star-o"></i>
2015-10-25 03:35:37 +01:00
</span>
<span ng-show="resource.user_data.is_favourited">
In Your Favourites
2016-05-20 17:46:44 +02:00
<i class="fa fa-star"></i>
2015-10-25 03:35:37 +01:00
</span>
</a>