mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-24 14:08:00 +01:00
10 lines
455 B
HTML
10 lines
455 B
HTML
<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">
|
|
<span ng-hide="resource.user_data.is_favourited">
|
|
Favourite This!
|
|
<i class="fa fa-star-o"></i>
|
|
</span>
|
|
<span ng-show="resource.user_data.is_favourited">
|
|
In Your Favourites
|
|
<i class="fa fa-star"></i>
|
|
</span>
|
|
</a>
|