Sha256: 597da37ed1534abfe720d476cf7839fed90581a5e2f42ec5bab1397354629f74
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
= title resource.name .actions = link_to_edit_resource(resource) .deal-header .deal-category = resource.category .deal-value = resource.value.format .deal-status = resource.status .deal-info = k(resource.info) %fieldset.deal-owner %legend= t(:deal_owner_legend) .deal-contact - if resource.owner = link_to resource.owner do .contact-photo %img{:src => resource.owner.avatar_url, :alt => "Photo for #{resource.owner.name}"} .contact-name= resource.owner.name .contact-title= title_and_or_company(resource.owner) - else .contact-photo %img{:src => User.new.avatar_url, :alt => "Default Contact Photo"} .contact-name = t(:no_deal_owner) - if resource.contacts.any? %fieldset.deal-contacts %legend= t(:deal_contact_legend) - resource.contacts.each do |contact| .deal-contact = link_to contact do .contact-photo %img{:src => contact.avatar_url, :alt => "Photo for #{contact.name}"} .contact-name= contact.name .contact-title= title_and_or_company(contact)
Version data entries
8 entries across 8 versions & 1 rubygems