Sha256: 82e3e5e4e779adf3a8077b785b7bb6d30aeafefaadef35fe8f723d11cd79422e

Contents?: true

Size: 1.08 KB

Versions: 13

Compression:

Stored size: 1.08 KB

Contents

- collapsed = session[:contact_show_extra].nil? # && contact.errors.empty?
= section_title :contact_show_extra, collapsed, t(:extra_info), t('show_extra_info_small')
.show_fields
  #contact_show_extra{ hidden_if(collapsed) }
    %table.asset_attributes
      %tr
        = col(t(:title), contact.title)
        = col(t(:department), contact.department)
      %tr
        = col(t(:alt_email), contact.alt_email, false, true)
        = col(t(:mobile), contact.mobile)
      %tr
        = col(t(:fax), contact.fax)
        = col(t(:do_not_call), contact.do_not_call == false ? "no" : "yes")
      %tr
        %th=t(:address) + ":"
        %td
          %div
            %strong= render "shared/address_show", asset: contact, type: 'business', title: nil
      %tr
        %th= t(:web_presence)
        %td= web_presence_icons(contact)
        = col(t(:permissions), (contact.permissions.empty? ? t(:shared_with_everyone) : contact.permissions.join(", ")))
      - if Setting.background_info && Setting.background_info.include?(:contact)
        %tr
          = col(t(:background_info), contact.background_info)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.22.0 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.21.0 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.20.1 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.20.0 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.19.2 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.19.0 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.18.2 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.17.3 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.18.1 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.18.0 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.17.2 app/views/contacts/_section_extra.html.haml
fat_free_crm-0.17.1 app/views/contacts/_section_extra.html.haml