From da2cbefbec558e4f083f16dad713e1073c258695 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 8 Mar 2021 03:13:12 -0600 Subject: [PATCH] users: add back promoter field. Add back promoter field removed in 7ed674f68 (cf #4750). --- app/views/users/_statistics.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/users/_statistics.html.erb b/app/views/users/_statistics.html.erb index 047876783..4a7e2631e 100644 --- a/app/views/users/_statistics.html.erb +++ b/app/views/users/_statistics.html.erb @@ -62,6 +62,13 @@ <% end %> + <% if user.inviter %> + + Promoter + <%= link_to_user user.inviter %> <%= link_to "ยป", users_path(search: { inviter: { name: user.inviter.name }}) %> + + <% end %> + Level