From 4a5d7207247ea31f3cb38c7af21c5304a0e9b43a Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Thu, 25 Aug 2016 11:19:53 +0200 Subject: [PATCH] change position of overview and samples --- .../shared/_secondary_navigation.html.erb | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/views/shared/_secondary_navigation.html.erb b/app/views/shared/_secondary_navigation.html.erb index 5e277ba42..1bbf84998 100644 --- a/app/views/shared/_secondary_navigation.html.erb +++ b/app/views/shared/_secondary_navigation.html.erb @@ -99,6 +99,14 @@ <% end %> <% elsif experiment_page? %> + <% if can_view_experiment(@experiment) then %> +
  • "> + "> + + + +
  • + <% end %> <% if can_view_experiment_samples(@experiment) then %>
  • "> "> @@ -107,27 +115,19 @@
  • <% end %> - <% if can_view_experiment(@experiment) then %> -
  • "> - "> - - - -
  • - <% end %> - <% if can_view_reports(@experiment.project) then %> + <% if can_view_reports(@experiment.project) then %>
  • "> ">
  • - <% end %> - <% if can_view_experiment_archive(@experiment) then %> + <% end %> + <% if can_view_experiment_archive(@experiment) then %>
  • ">
  • - <% end %> + <% end %> <% elsif module_page? %> <% if can_view_module_protocols(@my_module) then %>