= render 'sign_in_to_apply'
%ul.fa-ul
  - if offer.published?
    %li
      = fa_icon('calendar li fw')
      = t('offers.published_time_ago', time: time_ago_in_words(offer.published_at))
  %li
    = fa_icon('money li')
    != salary_and_wage_for(offer)
  %li= fa_icon('map-marker li', text: offer.location.to_s)
  - if offer.contact_email.present?
    %li
      = fa_icon('envelope li')
      = link_to add_soft_break_to_email(offer.contact_email), "mailto:#{offer.contact_email}"
  - if offer.contact_phone.present?
    %li
      = fa_icon('phone li')
      = offer.contact_phone
  %li
    = fa_icon('eye li')
    = t('offers.view_count', count: offer.views)
  %li
    - if logged_in? && current_user.id == offer.company_id
      = link_to offer_applications_path(offer) do
        = fa_icon('user li')
        = offer.applicant_count_in_words
    - else
      = fa_icon('user li')
      = offer.applicant_count_in_words


= render 'sign_in_to_apply'
%ul.fa-ul
  - if offer.published?
    %li
      = fa_icon('calendar li fw')
      = t('offers.published_time_ago', time: time_ago_in_words(offer.published_at))
  %li
    = fa_icon('money li')
    != salary_and_wage_for(offer)
  %li= fa_icon('map-marker li', text: offer.location.to_s)
  - if offer.contact_email.present?
    %li
      = fa_icon('envelope li')
      = link_to add_soft_break_to_email(offer.contact_email), "mailto:#{offer.contact_email}"
  - if offer.contact_phone.present?
    %li
      = fa_icon('phone li')
      = offer.contact_phone
  %li
    = fa_icon('eye li')
    = t('offers.view_count', count: offer.views)
  

Remove applicant count from offer details
Remove applicant count from offer details
