File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 42
42
</ div >
43
43
<% end %>
44
44
45
+ <% editable_check = true %>
45
46
<% if warn . check %>
47
+ <% editable_check = false %>
46
48
< div class ="text-muted ">
47
49
<% if warn . check . pass? %>
48
50
Bypassed by <%= link_to_user ( warn . check . user ) %>
53
55
<%= fa_icon ( 'exclamation-circle' ) %> reinstate as failed check
54
56
<% end %>
55
57
<% else %>
58
+ <% editable_check = true if
59
+ warn . checklist . present? && warn . checklist == :register %>
56
60
<% if warn . check . user . present? %>
57
61
Identified by <%= link_to_user ( warn . check . user ) %>
58
62
<% else %>
61
65
<%= time_ago_in_words ( warn . check . updated_at ) %> ago
62
66
<% end %>
63
67
</ div >
64
- <% elsif current_curator? %>
68
+ <% end %>
69
+ <% if editable_check && current_curator? %>
65
70
< div class ="text-muted ">
66
71
< b > Curator action</ b > :
67
72
<%= link_to (
You can’t perform that action at this time.
0 commit comments