Sha256: b7e9901852fd57556dae252a3f5087cec172b1ea87e1d5d8cef8bc4f48a0e880

Contents?: true

Size: 1.04 KB

Versions: 9

Compression:

Stored size: 1.04 KB

Contents

h3 class="activity"= t('.title')

ul.activity-feed
  - @activities.each do |activity|
    li class=activity.domain
      span.icon.fa-stack.fa-lg
        i.fa.fa-circle.fa-stack-2x
        i.fa.fa-stack-1x.fa-inverse class=activity_to_icon(activity)

      p
        = account_avatar_and_name(activity.actor, size = '70x70#')
        |  
        | ·
        |  
        span.time= activity.created_at.to_s(:humanized_ago)
        |  
        | ·
        |  
        span.sentence= render_activity_sentence(activity)
        - if activity.locale && activity.locale.to_s != current_site.default_locale.to_s
          span.locale
            = activity.locale.to_s

      - if info = render_activity_additional_information(activity)
        .additional-information= info

- if @activities.current_page < @activities.total_pages
  p.text-center
    = link_to t('.load_more'), { page: @activities.current_page + 1 }, class: 'btn btn-primary btn-sm', data: { behavior: 'load-more', loading_text: t('.loading_activity_feed') }, remote: true

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
locomotivecms-4.1.1 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.1.0 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.3 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.2 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.1 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.0 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.0.rc0 app/views/locomotive/dashboard/_activity.html.slim
locomotivecms-4.0.0.alpha3 app/views/locomotive/dashboard/_activity.html.slim