summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-03-19 12:47:10 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-03-19 12:47:10 +0300
commit5dcb8db933f1e49526137a55638d26f4d8d2d182 (patch)
treee5432bd79c1ba8f7ca9d716c82f3c8ab314d1746 /js
parent5d6912005666f386eae04dafe408dce9e68b1c43 (diff)
allow setting update interval in subcribe to feed dialog
Diffstat (limited to 'js')
-rw-r--r--js/CommonDialogs.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js
index f666eda36..1dec1b6da 100644
--- a/js/CommonDialogs.js
+++ b/js/CommonDialogs.js
@@ -58,10 +58,15 @@ const CommonDialogs = {
${App.getInitParam('enable_feed_cats') ?
`
<fieldset>
- <label class='inline'>${__('Place in category:')}</label>
+ <label>${__('Place in category:')}</label>
${reply.cat_select}
</fieldset>
` : ''}
+
+ <fieldset>
+ <label>${__("Update interval:")}</label>
+ ${App.FormFields.select_hash("update_interval", 0, reply.intervals.update)}
+ </fieldset>
</section>
<div id="feedDlg_feedsContainer" style="display : none">