diff --git a/module_index.json b/module_index.json index c7875b3..d8dfb4f 100755 --- a/module_index.json +++ b/module_index.json @@ -195,7 +195,7 @@ "version": "0.1", "author": "Starbeamrainbowlabs", "description": "Adds per-user watchlists. When a page on a user's watchlist is edited, a notification email is sent.", - "lastupdate": 1577117322, + "lastupdate": 1577117779, "optional": false, "extra_data": [] }, diff --git a/modules/feature-watchlist.php b/modules/feature-watchlist.php index dbcf992..cfb5755 100644 --- a/modules/feature-watchlist.php +++ b/modules/feature-watchlist.php @@ -210,6 +210,8 @@ register_module([ header("location: $returnto"); $message .= " Click here to return to your previous page."; } + else + $message .= " Go back to your previous page, or review your watchlist."; exit(page_renderer::render_main("Watchlist update successful", "

$message

")); }); } diff --git a/peppermint.guiconfig.json b/peppermint.guiconfig.json index 4dc154c..59ee42c 100644 --- a/peppermint.guiconfig.json +++ b/peppermint.guiconfig.json @@ -170,6 +170,10 @@ [ "📤 Upload", "index.php?action=upload" + ], + [ + "🔭 Watch", + "index.php?action=watchlist-edit&do=add&page={page}" ] ] } },