We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcc0a14 + 8cb0f03 commit df7d457Copy full SHA for df7d457
1 file changed
app/views/users/show.html.erb
@@ -147,6 +147,14 @@
147
<td><%= @user.metric 'E' %></td>
148
</tr>
149
</table>
150
+
151
+ <% if current_user&.id == @user.id || current_user&.is_moderator %>
152
+ <table class="table is-full-width">
153
+ <tr>
154
+ <td>User since <%= @user.created_at %></td>
155
+ </tr>
156
+ </table>
157
+ <% end %>
158
159
<% unless @abilities.empty? %>
160
<h2>Earned Abilities</h2>
0 commit comments