_list.html.haml revision f0cc21da871d51c6e8c2dafaf4b076cc8b45ec0b
- if @show_name_column
%thead
%tr
%th{style:"border:0"}
%th Text
%th Name
%tbody
- collection.each do |symbol|
%tr
%td
= link_to "#" do
= oops_icons symbol.oops_responses
- if @show_name_column
%td= symbol.text
%td= link_to symbol.name, locid_for(symbol)
- else
- if symbol.display_name
%td= link_to symbol.display_name, locid_for(symbol)
- else
%td= name_highlighter(symbol)
%tr{:style => "display:none"}
%tr.pitfall{:style => "display:none"}
%td
%td{colspan:2, style:"box-shadow:inset 0 0 5px grey"}
- symbol.oops_responses.each do |response|
%dt{ title: response.element_type }
%i{ class: oops_icon(response.element_type) }
%dd
%strong