From 9554ca721973509fcf19d69c5ec68b3fb15b5682 Mon Sep 17 00:00:00 2001
From: smow <7839556+smowtenshi@users.noreply.github.com>
Date: Thu, 4 Mar 2021 20:47:43 +0100
Subject: [PATCH 1/2] Change "Inviter" to "Promoter"
It's kind of old and misleading
---
app/views/users/_statistics.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/users/_statistics.html.erb b/app/views/users/_statistics.html.erb
index f72744ad8..34799f6fd 100644
--- a/app/views/users/_statistics.html.erb
+++ b/app/views/users/_statistics.html.erb
@@ -63,7 +63,7 @@
<% end %>
- | Inviter |
+ Promoter |
<% if user.inviter %>
<%= link_to_user user.inviter %> <%= link_to "»", users_path(search: { inviter: { name: user.inviter.name }}) %> |
<% else %>
From 7ed674f6825001f85d0aa2ab70454732b6a65d8f Mon Sep 17 00:00:00 2001
From: smow <7839556+smowtenshi@users.noreply.github.com>
Date: Thu, 4 Mar 2021 22:07:52 +0100
Subject: [PATCH 2/2] Section removed as per comments
---
app/views/users/_statistics.html.erb | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/app/views/users/_statistics.html.erb b/app/views/users/_statistics.html.erb
index 34799f6fd..29b06833b 100644
--- a/app/views/users/_statistics.html.erb
+++ b/app/views/users/_statistics.html.erb
@@ -62,15 +62,6 @@
<% end %>
-
- | Promoter |
- <% if user.inviter %>
- <%= link_to_user user.inviter %> <%= link_to "»", users_path(search: { inviter: { name: user.inviter.name }}) %> |
- <% else %>
- None |
- <% end %>
-
-
| Level |
|