views/gephi_import.haml

Summary

Maintainability
Test Coverage
%h2 
  ="This gephi import contains %s traces:)" % @traces.count

- if @gephi_import.name.to_s.strip != ''
  %h3= "Name: " + @gephi_import.name

- @traces.sort_by(&:transcript_count).reverse.each_with_index do |trace, i|
  .item
    %a{ href: "/traces/%s" % trace.id }= "Trace %s: %s transcripts" % [(i + 1), trace.gephi_records.count]