Skip to content

Commit

Permalink
Update list.html.erb (publiclab#11358)
Browse files Browse the repository at this point in the history
* Update list.html.erb

* Update list.html.erb

deleted unwanted  '+'
  • Loading branch information
Beckeruni committed Aug 30, 2022
1 parent 65def10 commit b97078c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/users/list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<li><a style="color: #808080; cursor: no-drop;"><%= user.nodes.count %> Wiki Edits</a></li>
<% if current_user && current_user.can_moderate? %>
<% if user.status == 0 %>
<li class="btn-success"><a style="color: white;" href="/profile/<%= user.username %>"><i class="fa fa-check-circle fa-white"></i> Unban on profile</a></li>
<i class='fa fa-ban' style="color:#a00;"></i> <%= translation('users.list.banned') %>
<li class="btn-success m-2" style="border-radius: 2px;"><a class="p-1 text-center w-100" style="color: white;" href="/profile/<%= user.username %>"><i class="fa fa-check-circle fa-white"></i> Unban on profile</a></li>
<p class="text-center m-0"><i class='fa fa-ban' style="color:#a00;"></i> <%= translation('users.list.banned') %></p>
<% elsif user.status == 1 && user != current_user %>
<li><a href="/profile/<%= user.username %>"><%= translation('users.list.see_full_profile') %></a></li>
<li class="btn-danger m-2" style="border-radius: 2px;"><a class="p-1 text-center w-100" style="color: white;" data-confirm="<%= translation('users.list.are_you_sure',{},false) %>" href="/ban/<%= user.uid %>" ><i class="fa fa-ban fa-white"></i> <%= translation('users.list.ban') %></a></li>
Expand Down

0 comments on commit b97078c

Please sign in to comment.