Sha256: e448fb9add320155262b41b675da272c08332608e9a78eef20cf9ab5b4309018
Contents?: true
Size: 1022 Bytes
Versions: 5
Compression:
Stored size: 1022 Bytes
Contents
%li.highlight[opportunity] - if opportunity.stage .strip{:class => opportunity.stage}= t(opportunity.stage) - else .strip.white #{t :other} %ul.tools - if can?(:update, opportunity) %li= link_to_edit(opportunity) - if shown_on_landing_page? %li= link_to_discard(opportunity) - if can?(:destroy, opportunity) %li= link_to_delete(opportunity) .indent = link_to_if can?(:read, opportunity), opportunity.name, opportunity - if (account = opportunity.account) && account.id == #{t :from} #{link_to_if can?(:read, account), account.name, account_path(account)} %tt – - user_name = opportunity.user_id == current_user.id ? t(:me) : opportunity.user.try(:full_name) - if user_name = t(:added_by, :time_ago => time_ago_in_words(opportunity.created_at), :user => user_name) - else = t(:added_ago, :value => time_ago_in_words(opportunity.created_at)) = hook(:opportunity_bottom, self, :opportunity => opportunity)
Version data entries
5 entries across 5 versions & 1 rubygems