2016-05-20 01:08:57 +02:00
|
|
|
<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-07-16 02:27:05 +02:00
|
|
|
<i class="material-icons">favorite_border</i>
|
2015-10-25 03:35:37 +01:00
|
|
|
</span>
|
|
|
|
<span ng-show="resource.user_data.is_favourited">
|
|
|
|
In Your Favourites
|
2016-07-16 02:27:05 +02:00
|
|
|
<i class="material-icons">favorite</i>
|
2015-10-25 03:35:37 +01:00
|
|
|
</span>
|
|
|
|
</a>
|