Sha256: 95681e558bfd36592cfc343f7eb7b882e5b3317cebe12a286faf01f5bd382347
Contents?: true
Size: 1.13 KB
Versions: 15
Compression:
Stored size: 1.13 KB
Contents
<% if assignment.single_visual_result? %> <%= assignment.single_visual_result_html %> <% else %> <strong><%= t :test_results %>:</strong> <ul class="results-list"> <% assignment.test_results.each_with_index do |test_result, index| %> <li> <% if test_result[:status] == :failed %> <span class="text-danger"> <%= status_icon(test_result[:status]) %> <strong class="example-title"><%= test_result[:title] %></strong> <% unless assignment.visible_success_output? %> <a data-toggle="collapse" href="#example-result-<%= index %>" class="example-see-more">Ver detalles</a> <% end %> </span> <% else %> <span class="text-success example-title"> <%= status_icon(test_result[:status]) %> <%= test_result[:title] %> </span> <% end %> <div class="example-result collapse <%= 'in' if assignment.visible_success_output? %>" id="example-result-<%= index %>"> <%= assignment.output_content_type.to_html test_result[:result] %> </div> </li> <% end %> </ul> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems