Fix emails

This commit is contained in:
Egor Kislitsyn 2020-09-21 21:47:36 +04:00
parent e4792ce76a
commit 8baee855d9
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -198,14 +198,14 @@ defmodule Pleroma.Emails.UserEmail do
if is_nil(admin_user_id) do if is_nil(admin_user_id) do
""" """
<p>You requested a full backup of your Pleroma account. It's ready for download:</p> <p>You requested a full backup of your Pleroma account. It's ready for download:</p>
<p><a href="#{download_url}"></a></p> <p><a href="#{download_url}">#{download_url}</a></p>
""" """
else else
admin = Pleroma.Repo.get(User, admin_user_id) admin = Pleroma.Repo.get(User, admin_user_id)
""" """
<p>Admin @#{admin.nickname} requested a full backup of your Pleroma account. It's ready for download:</p> <p>Admin @#{admin.nickname} requested a full backup of your Pleroma account. It's ready for download:</p>
<p><a href="#{download_url}"></a></p> <p><a href="#{download_url}">#{download_url}</a></p>
""" """
end end