Skip to content

Commit

Permalink
Do not show new button on browse page for ISA elements
Browse files Browse the repository at this point in the history
  • Loading branch information
somathias committed Oct 2, 2023
1 parent 144eaab commit 172eb53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/assays/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= render :partial=> "general/index",:locals=>{:new_item_label=>"New #{t('assays.assay')}"} %>
<%= render :partial=> "general/index",:locals=>{:show_new_button=>false} %>



2 changes: 1 addition & 1 deletion app/views/investigations/index.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<%= render :partial=> "general/index" %>
<%= render :partial=> "general/index",:locals=>{:show_new_button=>false} %>
2 changes: 1 addition & 1 deletion app/views/studies/index.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<%= render :partial=> "general/index" %>
<%= render :partial=> "general/index",:locals=>{:show_new_button=>false} %>

0 comments on commit 172eb53

Please sign in to comment.