miniflux-legacy/templates
Philip Walden 8422e62abc Fulfills enhnacement request fguillot/miniflux #155
Inserts a (unread/total)" items count in front of each subcription
on the feeds page.

models/feed.php adds two functions: get_feed_unread_counts(), get_all_w_counts().
get_feed_unread_counts - returns either an array of (unread/total) counts indexed
by feed id or a singl (unread/total) for a specific id.
get_all_w_counts() returns the same as get_all() but appends items_unread and
items_total columns.

controller/feed.php modifies Router\post_action('refresh-feed',function() to
retrun the (unread/total) count in the retruned ajax json array.
Router\get_action('feeds',function() was modified to call get_all_w_counts().

templates/feeds.php was modified to insert the (unread/total) count into the
span id="loading-feed-" such that is can be updated after a refresh.

assets/js/feed.js was modified to to have the Update and hideRefreshIcon
update the returned (unread/total) amounts in the "loading-feed" span.
2014-02-22 11:00:49 -08:00
..
.htaccess Move everything to the top-level directory 2013-05-21 12:34:39 +02:00
add.php Add bookmarklet link (add a subscription directly from any browsers) 2013-09-04 20:45:06 -04:00
bookmark_links.php Improve mobile layout (Android phones) 2014-02-14 21:21:14 -05:00
bookmarks.php Add an option to choose where to be redirected when there is nothing to read 2013-12-23 13:33:16 -05:00
config.php Improve files organization 2014-02-08 14:13:14 -05:00
confirm_disable_feed.php Add the possibility to disable/enable a feed 2013-08-04 15:15:12 -04:00
confirm_flush_items.php Rename templates 2013-05-31 21:57:59 -04:00
confirm_remove_feed.php Improve items paging, get config values, add option to set the number of items per page and add comments 2013-07-06 10:50:37 -04:00
console.php Update french translation and typo fix 2013-08-29 19:54:37 -04:00
edit_feed.php Ability to edit a subscription 2013-12-05 21:23:46 -05:00
feed_items.php Code refactoring (JS and templates) 2013-10-14 22:38:07 -04:00
feeds.php Fulfills enhnacement request fguillot/miniflux #155 2014-02-22 11:00:49 -08:00
history.php Add an option to choose where to be redirected when there is nothing to read 2013-12-23 13:33:16 -05:00
import.php Move everything to the top-level directory 2013-05-21 12:34:39 +02:00
item.php Improve enclosure support 2014-02-17 22:04:49 -05:00
keyboard_shortcuts.php Added "r" keyboard shortcut for "Update all subscriptions" 2013-10-31 12:28:39 -07:00
layout.php Improve mobile layout (Android phones) 2014-02-14 21:21:14 -05:00
login.php Code refactoring (JS and templates) 2013-10-14 22:38:07 -04:00
paging.php Code refactoring (JS and templates) 2013-10-14 22:38:07 -04:00
show_help.php Improve help popup (pull-request) 2013-07-21 11:11:41 -04:00
show_item.php Improve enclosure support 2014-02-17 22:04:49 -05:00
show_more.php Improve others themes 2014-02-09 12:32:46 -05:00
status_links.php Improve mobile layout (Android phones) 2014-02-14 21:21:14 -05:00
unread_items.php Code refactoring (JS and templates) 2013-10-14 22:38:07 -04:00