summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorskiingwiz <skiingwiz@gmail.com>2021-03-27 22:15:10 -0400
committerBenjamin Brahmer <info@b-brahmer.de>2021-04-02 11:15:17 +0200
commit04519388ce1bf3acc9997b35748762a7380e5954 (patch)
tree628b743c43c39aa4319153f3e5482ff35fd383af /templates
parente917127a7bab29b06ffca597fbb554cf57f6d212 (diff)
Allow directly adding a feed without going through the discovery process
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.navigation.addfeed.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/part.navigation.addfeed.php b/templates/part.navigation.addfeed.php
index 595b1a1b4..6c198628c 100644
--- a/templates/part.navigation.addfeed.php
+++ b/templates/part.navigation.addfeed.php
@@ -9,6 +9,7 @@
<div class="add-new-popup" id="new-feed" news-add-feed="Navigation.feed">
<form ng-submit="Navigation.createFeed(Navigation.feed)"
+ ng-init="Navigation.feed.autoDiscover=true"
name="feedform">
<fieldset ng-disabled="Navigation.addingFeed">
<input type="text"
@@ -98,6 +99,12 @@
name="password" autocomplete="new-password">
</div>
+ <input type="checkbox"
+ class="checkbox"
+ ng-model="Navigation.feed.autoDiscover"
+ id="add-feed-discover">
+ <label for="add-feed-discover"><?php p($l->t('Autodiscover Feed')); ?></label>
+
<!-- submit -->
<input type="submit"
value="<?php p($l->t('Subscribe')); ?>"