From: Andy Allan Date: Wed, 16 Jun 2021 15:26:25 +0000 (+0100) Subject: Rearrange tabs for inter-page consistency X-Git-Tag: live~1532^2~3 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7996b843807aa08ab5f79fc718212109f72f0faa Rearrange tabs for inter-page consistency The all traces tab comes first, since it's shown on every page as you click around. Otherwise the tabs appear to be constantly rearranging themselves. --- diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 2e5c44a5e..7668532aa 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -11,26 +11,26 @@ <% if current_user %> <% end %> + <% elsif current_user && current_user == @target_user %> - <% elsif current_user && current_user == @target_user %> - <% else %> <% if current_user && current_user != @target_user %> <% end %> <% end %>