aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:40:13 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:40:13 +0100
commite841afdabe76d370da85da0cd34c323f0e2b0c5d (patch)
tree4fe97c13df7e19839d2f6ac06e3a941c7e053ca8 /src/web
parentUpdated translations. (diff)
downloadnewspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.tar.gz
newspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.tar.bz2
newspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.zip
Renamed crawler name.
Diffstat (limited to 'src/web')
-rw-r--r--src/web/js/stores/MenuStore.js2
-rw-r--r--src/web/templates/layout.html2
-rw-r--r--src/web/views/home.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/web/js/stores/MenuStore.js b/src/web/js/stores/MenuStore.js
index f1b83dce..770bc501 100644
--- a/src/web/js/stores/MenuStore.js
+++ b/src/web/js/stores/MenuStore.js
@@ -8,7 +8,7 @@ var assign = require('object-assign');
var MenuStore = assign({}, EventEmitter.prototype, {
_datas: {filter: 'unread', feeds: {}, categories: {}, categories_order: [],
active_type: null, active_id: null,
- is_admin: false, crawling_method: 'classic',
+ is_admin: false, crawling_method: 'default',
all_unread_count: 0, max_error: 0, error_threshold: 0,
all_folded: false},
getAll: function() {
diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html
index ad0b0ea0..5bd5c3d6 100644
--- a/src/web/templates/layout.html
+++ b/src/web/templates/layout.html
@@ -42,7 +42,7 @@
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
{% if current_user.is_authenticated %}
- {% if conf.CRAWLING_METHOD == "classic" and (not conf.ON_HEROKU or current_user.is_admin) %}
+ {% if conf.CRAWLING_METHOD == "default" and (not conf.ON_HEROKU or current_user.is_admin) %}
<li><a href="/fetch"><span class="glyphicon glyphicon-import"></span> {{ _('Fetch') }}</a></li>
{% endif %}
<li class="dropdown">
diff --git a/src/web/views/home.py b/src/web/views/home.py
index 5274dc12..34ecb9fa 100644
--- a/src/web/views/home.py
+++ b/src/web/views/home.py
@@ -160,9 +160,9 @@ def mark_all_as_read():
def fetch(feed_id=None):
"""
Triggers the download of news.
- News are downloaded in a separated process, mandatory for Heroku.
+ News are downloaded in a separated process.
"""
- if conf.CRAWLING_METHOD == "classic" \
+ if conf.CRAWLING_METHOD == "default" \
and (not conf.ON_HEROKU or current_user.is_admin):
misc_utils.fetch(current_user.id, feed_id)
flash(gettext("Downloading articles..."), "info")
bgstack15