Skip to content

Commit

Permalink
updated text following review, which still referred to assay instead …
Browse files Browse the repository at this point in the history
…of observation unit #1972
  • Loading branch information
stuzart committed Aug 23, 2024
1 parent 5e35d8d commit 83ffcc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/observation_units/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<% if Investigation.authorized_for('view').none? %>
<%= alert_box('info') do %>
<%= "No #{t('study')} and #{t('investigation')} available, you have to create a new #{t('investigation')} first before creating your #{t('study')} and #{t('assays.assay')}!" %>
<%= "No #{t('study')} and #{t('investigation')} available, you have to create a new #{t('investigation')} first before creating your #{t('study')} and #{t('observation_unit')}!" %>
<% end %>
<div class="text-center">
<%= button_link_to("New #{t('investigation')}", 'arrow_right', new_investigation_path) -%>
</div>
<% elsif Study.authorized_for('view').none? %>
<%= alert_box('info') do %>
<%= "No #{t('study')} available, you have to create a new #{t('study')} before creating your #{t('assays.assay')}!" %>
<%= "No #{t('study')} available, you have to create a new #{t('study')} before creating your #{t('observation_unit')}!" %>
<% end %>
<div class="text-center">
<%= button_link_to("New #{t('study')}", 'arrow_right', new_study_path) -%>
Expand Down

0 comments on commit 83ffcc2

Please sign in to comment.