Sha256: e4696b9682955de1b79ba93fe4c7d3314fd4cf8cd410c3fd85f17fd0968ccb05

Contents?: true

Size: 754 Bytes

Versions: 5

Compression:

Stored size: 754 Bytes

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
      .contact-link= link_to(resource.owner.name, resource.owner)
      .contact-title= title_and_or_company(resource.owner)
    - else
      = t(:no_deal_owner)

- if resource.contacts.any?
  %fieldset.deal-contacts
    %legend= t(:deal_contact_legend)
    - resource.contacts.each do |contact|
      .deal-contact
        .contact-link= link_to(contact.name, contact)
        .contact-title= title_and_or_company(contact)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
e9_crm-0.1.26 app/views/e9_crm/deals/show.html.haml
e9_crm-0.1.25 app/views/e9_crm/deals/show.html.haml
e9_crm-0.1.24 app/views/e9_crm/deals/show.html.haml
e9_crm-0.1.23 app/views/e9_crm/deals/show.html.haml
e9_crm-0.1.22 app/views/e9_crm/deals/show.html.haml