impress/app/views/items/_item_list_row.html.haml

12 lines
282 B
Text
Raw Normal View History

- subtitle = nil unless defined? subtitle
%tr
%td.thumbnail-cell
= link_to item_thumbnail_for(item), item, target: "_blank",
tabindex: "-1"
%td.name-cell
= link_to item.name, item, target: "_blank"
- if subtitle.present?
.subtitle= subtitle
%td.actions-cell= yield