Skip to content
Snippets Groups Projects
Commit 737f534c authored by Taico Aerts's avatar Taico Aerts
Browse files

Allow viewing other users badges

parent 9b860717
No related branches found
No related tags found
1 merge request!73Update badge display
......@@ -2,6 +2,9 @@
<%= link_to user_path(user), class: "tabs--item #{current_page?(user_path(user)) ? 'is-active' : ''}" do %>
<i class="fas fa-user"></i> Profile
<% end %>
<%= link_to user_awarded_badges_path(user), class: "tabs--item #{current_page?(user_awarded_badges_path(user)) ? 'is-active' : ''}" do %>
Awarded Badges
<% end %>
<%= link_to user_activity_path(user), class: "tabs--item #{current_page?(user_activity_path(user)) ? 'is-active' : ''}" do %>
Activity
<% end %>
......@@ -18,9 +21,6 @@
<%= link_to user_preferences_path, class: "tabs--item #{current_page?(user_preferences_path) ? 'is-active' : ''}" do %>
Preferences
<% end %>
<%= link_to user_awarded_badges_path(user), class: "tabs--item #{current_page?(user_awarded_badges_path(user)) ? 'is-active' : ''}" do %>
Awarded Badges
<% end %>
<%= link_to user_consent_path, class: "tabs--item #{current_page?(user_consent_path) ? 'is-active' : ''}" do %>
Consent
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment