diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-19 17:32:27 +0400 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-19 17:32:27 +0400 |
commit | 3dfd17204dc0ff4b6339ab3170e44ad1609460a5 (patch) | |
tree | 23043b4c45f3a22408bdd5236073079b3d79d96b | |
parent | 57c819a14906d6b2d7130c653f22d9aeb8c6eebc (diff) |
correctly toggle title of keep unread and star
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | templates/part.content.php | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 263134f6f..924b8db26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +owncloud-news (3.003) +* **Bugfix**: Correctly toggle title of star and keep unread icons" + owncloud-news (3.002) * **Bugfix**: If a folder is selected, the f and d shortcuts will jump to the previous or next folder subfeeds * **Bugfix**: Fix o shortcut in expanded view diff --git a/templates/part.content.php b/templates/part.content.php index 545c24b87..ddf878364 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -30,10 +30,12 @@ </time> </li> <li ng-click="Content.toggleStar(item.id)" class="util" news-stop-propagation> - <button class="star svg" ng-class="{'starred': item.starred}" title="<?php p($l->t('Star')); ?>"></button> + <button class="star svg" ng-hide="item.starred" title="<?php p($l->t('Star article')); ?>"></button> + <button class="starred svg" ng-show="item.starred" title="<?php p($l->t('Unstar article')); ?>"></button> </li> <li ng-click="Content.toggleKeepUnread(item.id)" class="util" news-stop-propagation> - <button class="icon-toggle toggle-keep-unread" ng-class="{'keep-unread': item.keepUnread}" title="<?php p($l->t('Keep article unread')); ?>"></button> + <button class="icon-toggle toggle-keep-unread" ng-hide="item.keepUnread" title="<?php p($l->t('Keep article unread')); ?>"></button> + <button class="icon-toggle toggle-keep-unread keep-unread" ng-show="item.keepUnread" title="<?php p($l->t('Remove keep article unread')); ?>"></button> </li> <li class="util only-in-compact"> <a class="external icon-link" |