Add length along with type title to differentiate between types with same name and different length

This commit is contained in:
differentreality 2013-09-01 21:05:40 +03:00
parent d603d0830f
commit 29d048ee7d

View file

@ -34,7 +34,7 @@
- @mytypes.each do |mytype|
%tr
%td= mytype.title
%td= "#{mytype.title} (#{show_time(mytype.length)})"
- @mystates.each do |mystate|
%td= @eventstats["#{mytype.title}"]["#{mystate.name}"]["type_state_count"] unless @eventstats["#{mytype.title}"]["#{mystate.name}"] == nil
%td= show_time(@eventstats["#{mytype.title}"]["#{mystate.name}"]["type_state_length"]) unless @eventstats["#{mytype.title}"]["#{mystate.name}"] == nil