diff --git a/application/static/library.js b/application/static/library.js index 0e782f5c..63a692d6 100644 --- a/application/static/library.js +++ b/application/static/library.js @@ -320,7 +320,8 @@ function SubscribeSharedFeed(title, feedurl, isfulltext, dbId) { data: {title: title, fulltext: isfulltext, url: feedurl, fromsharedlibrary: 'true', 'recipeId': dbId}, success: function (resp, textStatus, xhr) { if (resp.status == "ok") { - ShowSimpleModalDialog('

' + i18n.congratulations + '

' + i18n.feedSubscribed + '

'); + $('.additional-btns').stop(true).hide(); + $("#toast").fadeIn().delay(3000).fadeOut(); } else { alert(resp.status); } diff --git a/application/templates/book_audiolator.html b/application/templates/book_audiolator.html index 5291d08d..c941a392 100644 --- a/application/templates/book_audiolator.html +++ b/application/templates/book_audiolator.html @@ -119,7 +119,7 @@

{{_("Test (Please save settings firstly)")}}

- +
diff --git a/application/templates/book_translator.html b/application/templates/book_translator.html index d2bab1d9..2bf9ad67 100644 --- a/application/templates/book_translator.html +++ b/application/templates/book_translator.html @@ -86,11 +86,11 @@

{{_("Test (Please save settings firstly)")}}

- +
- +

diff --git a/application/templates/library.html b/application/templates/library.html index 7d03c3f3..842b4548 100644 --- a/application/templates/library.html +++ b/application/templates/library.html @@ -63,6 +63,9 @@

+
+ ✓ {{_('This feed has been successfully subscribed.')}} +
{% endblock -%} diff --git a/tools/update_req.py b/tools/update_req.py index e613e3f2..e6227d17 100644 --- a/tools/update_req.py +++ b/tools/update_req.py @@ -198,6 +198,7 @@ def gaeify_config_py(cfgFile): #arg: gae[B2,2,t2,20m] def update_worker_yaml(workerYamlFile, arg): items = arg.split('[')[-1].rstrip(']').split(',') if '[' in arg else [] + items = [e.strip() for e in items if e.strip()] if not items: return