From a41d8518307b1c0e1613a830616f5541bdd98a62 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Wed, 24 Aug 2016 08:54:02 +0200 Subject: [PATCH] Fix secondary navigation for experiment level (overview) --- .../shared/_secondary_navigation.html.erb | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/app/views/shared/_secondary_navigation.html.erb b/app/views/shared/_secondary_navigation.html.erb index 7b68c2a2c..5e277ba42 100644 --- a/app/views/shared/_secondary_navigation.html.erb +++ b/app/views/shared/_secondary_navigation.html.erb @@ -99,35 +99,35 @@ <% end %> <% elsif experiment_page? %> - <% if can_view_experiment_samples(@experiment) then %> -
  • "> - "> - - - -
  • - <% end %> - <% if can_view_experiment(@experiment) then %> -
  • "> - "> - - + <% if can_view_experiment_samples(@experiment) then %> +
  • "> + "> + +
  • <% end %> - <% if can_view_reports(@experiment.project) then %> -
  • "> - "> - - - -
  • - <% end %> - <% if can_view_experiment_archive(@experiment) then %> -
  • "> - -
  • - <% end %> + <% if can_view_experiment(@experiment) then %> +
  • "> + "> + + + +
  • + <% end %> + <% if can_view_reports(@experiment.project) then %> +
  • "> + "> + + + +
  • + <% end %> + <% if can_view_experiment_archive(@experiment) then %> +
  • "> + +
  • + <% end %> <% elsif module_page? %> <% if can_view_module_protocols(@my_module) then %>