From a689cd4770847e94323a55010711646df7d05cdd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 26 Jan 2012 15:13:04 +0400 Subject: notifier: add ability to update feeds in tt-rss --- utils/notifier/options.html | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'utils/notifier/options.html') diff --git a/utils/notifier/options.html b/utils/notifier/options.html index af7de0244..25c26b5df 100644 --- a/utils/notifier/options.html +++ b/utils/notifier/options.html @@ -40,6 +40,7 @@ function save() { localStorage['show_badge'] = (f.show_badge.checked) ? "1" : "0"; localStorage['show_fresh'] = (f.show_fresh.checked) ? "1" : "0"; localStorage['single_user'] = (f.single_user.checked) ? "1" : "0"; + localStorage['update_feeds'] = (f.update_feeds.checked) ? "1" : "0"; var d = new Date(); @@ -89,6 +90,11 @@ function init() { else f.single_user.checked = false; + if (localStorage['update_feeds']) + f.update_feeds.checked = localStorage['update_feeds'] == "1"; + else + f.update_feeds.checked = false; + single_user_toggle(); var last_updated = $('last_updated'); @@ -97,8 +103,13 @@ function init() { d.setTime(localStorage["last_updated"]); - last_updated.innerHTML = d; + + var feeds_last_updated = $('feeds-last-updated'); + + d.setTime(localStorage["last_feeds_updated"]); + + feeds_last_updated.innerHTML = d; } @@ -177,10 +188,16 @@ fieldset span.note { (requires Tiny Tiny RSS 1.4.1 or trunk) +
+ + + Please use this as a last resort method only in case you can't update your feeds in any other way. Last updated: N/A +
+ -

Copyright © 2010 +

Copyright © 2010-2012 Andrew Dolgov. Licensed under GNU GPL version 2.

-- cgit v1.2.3-54-g00ecf