File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 <%= warn [ :message ] %>
1111
1212 <% if warn . link_to %>
13- <% if warn . link_public || @ name. can_edit? ( current_user ) %>
13+ <% if warn . link_public || warn . name . can_edit? ( current_user ) %>
1414 <%= link_to ( warn . link_to , class : 'text-danger' ) do %>
1515 [<%= warn . link_text %> ]
1616 <% end %>
1919
2020 <% case warn . type %>
2121 <% when :missing_effective_publication %>
22- <% if !@ name. after_submission? %>
22+ <% if !warn . name . after_submission? %>
2323 < div >
2424 < b > This message can be ignored if following Path 1</ b >
2525 <%= help_topic ( :paths , 'SeqCode paths to validation' , as_help : true ) %>
5050 Bypassed by <%= link_to_user ( warn . check . user ) %>
5151 <%= time_ago_in_words ( warn . check . updated_at ) %> ago •
5252 <%= link_to (
53- check_url ( @ name, kind : warn . type , do : :skip ) ,
53+ check_url ( warn . name , kind : warn . type , do : :skip ) ,
5454 method : :post ) do %>
5555 <%= fa_icon ( 'exclamation-circle' ) %> reinstate as failed check
5656 <% end %>
7070 < div class ="text-muted ">
7171 < b > Curator action</ b > :
7272 <%= link_to (
73- check_url ( @ name, kind : warn . type , do : :pass ) ,
73+ check_url ( warn . name , kind : warn . type , do : :pass ) ,
7474 method : :post ) do %>
7575 <%= fa_icon ( 'check-circle' ) %> Bypass check (mark as valid)
7676 <% end %>
You can’t perform that action at this time.
0 commit comments