Sha256: c6c2ddbe7a1578e731afcc190d4f4b1e4ec0c45398f6c696d27c845aa4fe5de1

Contents?: true

Size: 933 Bytes

Versions: 5

Compression:

Stored size: 933 Bytes

Contents

%li.highlight[opportunity]
  - if opportunity.stage
    .strip{class: opportunity.stage}= t(opportunity.stage)
  - else
    .strip.other #{t :other}

  .indent
    = link_to(h(opportunity.name), opportunity)
    - if opportunity.account
      == #{t :from} #{link_to(h(opportunity.account.name), account_path(opportunity.account))}
    %tt
      –
      - user_name = opportunity.user.try(:full_name)
      - if user_name
        = t(:added_by, time_ago: timeago(opportunity.created_at), user: h(user_name)).html_safe
      - else
        = t(:added_ago, value: timeago(opportunity.created_at)).html_safe
    - unless current_user.preference[:opportunities_index_view] == "opportunities_index_brief"
      %dt
        = opportunity_revenue_message(opportunity)

      - if opportunity.tags.present?
        %dt
          .tags= tags_for_dashboard(opportunity)

      = hook(:opportunity_bottom, self, opportunity: opportunity)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/home/_opportunity.html.haml
fat_free_crm-0.22.0 app/views/home/_opportunity.html.haml
fat_free_crm-0.21.0 app/views/home/_opportunity.html.haml
fat_free_crm-0.20.1 app/views/home/_opportunity.html.haml
fat_free_crm-0.20.0 app/views/home/_opportunity.html.haml