projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SideEffects: Ensure a chat is present before streaming something out.
[akkoma]
/
lib
/
pleroma
/
web
/
views
/
email_view.ex
diff --git
a/lib/pleroma/web/views/email_view.ex
b/lib/pleroma/web/views/email_view.ex
index b506a234b636f4d2a204448eb11ef984c271d449..6b0fbe61ee2348a7f138a29cbbea1c340d919a0b 100644
(file)
--- a/
lib/pleroma/web/views/email_view.ex
+++ b/
lib/pleroma/web/views/email_view.ex
@@
-12,4
+12,8
@@
defmodule Pleroma.Web.EmailView do
|> Timex.parse!("{ISO:Extended:Z}")
|> Timex.format!("{Mshort} {D}, {YYYY} {h24}:{m}")
end
+
+ def admin_user_url(%{id: id}) do
+ Pleroma.Web.Endpoint.url() <> "/pleroma/admin/#/users/" <> id
+ end
end