Skip to content

Commit

Permalink
Made Library Refresh notifications more aesthetically appealing
Browse files Browse the repository at this point in the history
  • Loading branch information
crocodilestick committed Feb 11, 2025
1 parent 10771b8 commit 8f6a1e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root/app/calibre-web/cps/cwa_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ def refresh_library(app):
current_app.config["library_refresh_messages"] = []

if return_code == 2:
message = "Library Refresh - The book ingest service is already running, please wait until it has finished before trying again."
message = "Library Refresh 🔄 - The book ingest service is already running ✋ Please wait until it has finished before trying again"
elif return_code == 0:
message = "Library Refresh - Library refreshed & ingest process complete."
message = "Library Refresh 🔄 - Library refreshed & ingest process complete! ✅"
else:
message = "Library Refresh - An unexpected error occurred, check the logs."
message = "Library Refresh 🔄 - An unexpected error occurred, check the logs"

# Display message to user in Web UI
current_app.config["library_refresh_messages"].append(message)
Expand Down

0 comments on commit 8f6a1e1

Please sign in to comment.