Sha256: 0bbd301679836a465240a7d211a2e6c4b3f720080d143145ff0c163c8268a91c
Contents?: true
Size: 864 Bytes
Versions: 30
Compression:
Stored size: 864 Bytes
Contents
module ExportEmailHelper include EmailerHelper def formatted_txt_holding_status(view_data) output = "" output << view_data[:collection_str] if view_data[:collection_str] output << " " + view_data[:call_number] if view_data[:call_number] output << " " + view_data[:status] if view_data[:status] return output end def formatted_html_holding_status(view_data) output = "".html_safe if view_data[:collection_str] output << content_tag("span", view_data[:collection_str], :class => "collection") end if view_data[:call_number] output << " ".html_safe << content_tag("span", view_data[:call_number], :class => "call_no") end if view_data[:status] output << " ".html_safe << content_tag("span", view_data[:status], :class => "status") end return output end end
Version data entries
30 entries across 30 versions & 1 rubygems