sanger/sequencescape

View on GitHub
app/views/pipelines/summary.html.erb

Summary

Maintainability
Test Coverage

<% add :about, 'Displays information about a completed batch' -%>
<% unless @batch.released? -%>
<% add :menu, "Release this batch" => release_batch_url(@batch) -%>
<% end -%>
<% add :back_menu, "Back to pipeline" => pipeline_path(@batch.pipeline) -%>

<%= page_title "Batch", @batch.id%>
<%= render partial: 'event_requests', locals: { batch: @batch } %>