diff options
author | 2017-12-12 19:19:36 -0800 | |
---|---|---|
committer | 2017-12-12 19:19:36 -0800 | |
commit | ef097f02fe76572d2b1887c28da3f2bd83a993a0 (patch) | |
tree | 285dd219fab64119728e03b421ab230392ac5e3e /server/template/html | |
parent | 33445e5b681bbdffaf0925ed020ecdcc49687f15 (diff) |
Add the possibility to enable crawler for feeds
Diffstat (limited to 'server/template/html')
-rw-r--r-- | server/template/html/add_subscription.html | 2 | ||||
-rw-r--r-- | server/template/html/choose_subscription.html | 3 | ||||
-rw-r--r-- | server/template/html/edit_feed.html | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/server/template/html/add_subscription.html b/server/template/html/add_subscription.html index 99d9e07..b65dabb 100644 --- a/server/template/html/add_subscription.html +++ b/server/template/html/add_subscription.html @@ -36,6 +36,8 @@ {{ end }} </select> + <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "Fetch original content" }}</label> + <div class="buttons"> <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Find a subscription" }}</button> </div> diff --git a/server/template/html/choose_subscription.html b/server/template/html/choose_subscription.html index 72c68fd..a1a8e68 100644 --- a/server/template/html/choose_subscription.html +++ b/server/template/html/choose_subscription.html @@ -29,6 +29,9 @@ </div> {{ end }} + <br> + <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "Fetch original content" }}</label> + <div class="buttons"> <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Subscribe" }}</button> </div> diff --git a/server/template/html/edit_feed.html b/server/template/html/edit_feed.html index 8495828..15670c6 100644 --- a/server/template/html/edit_feed.html +++ b/server/template/html/edit_feed.html @@ -58,6 +58,8 @@ {{ end }} </select> + <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "Fetch original content" }}</label> + <div class="buttons"> <button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Update" }}</button> {{ t "or" }} <a href="{{ route "feeds" }}">{{ t "cancel" }}</a> </div> |