<% if wu.state_label.in? ["Complete", "Failed", "Cancelled"] %>
<% lc = wu.log_collection %>
<% if lc and object_readable(lc, Collection) and object_readable(wu.uuid) %>
<% if wu.state_label.in? ["Complete", "Failed", "Cancelled"] %>
<% lc = wu.log_collection %>
<% if lc and object_readable(lc, Collection) and object_readable(wu.uuid) %>