Fix emails
This commit is contained in:
parent
e4792ce76a
commit
8baee855d9
1 changed files with 2 additions and 2 deletions
|
@ -198,14 +198,14 @@ def backup_is_ready_email(backup, admin_user_id \\ nil) 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><a href="#{download_url}"></a></p>
|
||||
<p><a href="#{download_url}">#{download_url}</a></p>
|
||||
"""
|
||||
else
|
||||
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><a href="#{download_url}"></a></p>
|
||||
<p><a href="#{download_url}">#{download_url}</a></p>
|
||||
"""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue