From 86128678fe5734d4c3038107d7740cee0e908ff4 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 19 Feb 2024 01:34:28 +0100 Subject: [PATCH] Update app.py --- store/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/store/app.py b/store/app.py index 30ad54b..1b26035 100644 --- a/store/app.py +++ b/store/app.py @@ -291,6 +291,7 @@ def add_to_wishlist(): new_wishlist = toml.loads(current_wishlist_rawtoml) if slug in new_wishlist: + url = f"https://apps.yunohost.org/wishlist?search={slug}" return render_template( "wishlist_add.html", locale=get_locale(), @@ -298,8 +299,8 @@ def add_to_wishlist(): csrf_token=csrf_token, successmsg=None, errormsg=_( - "An entry with the name %(slug) already exists in the wishlist, instead, you can add a star to the app to show your interest.", - slug=slug, + "An entry with the name %(slug) already exists in the wishlist, instead, you can add a star to the app to show your interest.", + slug=slug, url=url, ), )