1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

make the PR URL clickable when submitting an app to wishlist

This commit is contained in:
OniriCorpe 2023-10-26 23:25:25 +02:00
parent e94f301d80
commit 93055b6003
2 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,7 @@ Description: {description}
url = f"https://github.com/YunoHost/apps/pull/{pr.number}" url = f"https://github.com/YunoHost/apps/pull/{pr.number}"
successmsg = _( successmsg = _(
"Your proposed app has succesfully been submitted. It must now be validated by the YunoHost team. You can track progress here: %(url)s", "Your proposed app has succesfully been submitted. It must now be validated by the YunoHost team. You can track progress here: <a href='%(url)s'>%(url)s</a>",
url=url, url=url,
) )
return render_template( return render_template(

View file

@ -16,7 +16,7 @@
<div role="alert" class="rounded-md border-s-4 border-green-500 bg-green-50 p-4 my-5"> <div role="alert" class="rounded-md border-s-4 border-green-500 bg-green-50 p-4 my-5">
<p class="mt-2 text-sm text-green-700 font-bold"> <p class="mt-2 text-sm text-green-700 font-bold">
<i class="fa fa-thumbs-up fa-fw" aria-hidden="true"></i> <i class="fa fa-thumbs-up fa-fw" aria-hidden="true"></i>
{{ successmsg }} {{ successmsg | safe }}
</p> </p>
</div> </div>
{% else %} {% else %}