Sha256: 180a5263434f4db3ed4b28c3a84dde71480be37c58c8340171a1ea366057c426

Contents?: true

Size: 1.41 KB

Versions: 10

Compression:

Stored size: 1.41 KB

Contents

-# .collection-item.avatar
-# 	-# -# = material_icon.md_24.add.css_class("circle")
-# 	%b
-# 		= activity.owner.name if activity.owner
-# 	= t('keppler.messages.has')
-# 	= t('keppler.actions.created').downcase
-# 	= t("keppler.models.singularize.#{activity.trackable_type.underscore}").humanize

  -# - if activity.trackable
  -# 	= t('keppler.messages.to')
  -# 	%b
  -# 		= activity.trackable.send(method)
  -# 	= t('keppler.messages.at')
  -# 	= activity.created_at
  -# - else
  -# 	= t('keppler.messages.at')
  -# 	= activity.created_at
  -# 	= t('keppler.messages.since_been_removed')
.timeline-item

  %h6.timeline-header.no-border
    %small
      %b
        = activity.owner.name if activity.owner
    %small
      = t('keppler.messages.has')
      = t('keppler.actions.created').downcase
      = t("keppler.models.singularize.#{activity.trackable_type.underscore}").humanize
      %b
        = activity.trackable.send(method) if activity.trackable
  - if activity.trackable
    %span.time
      %i.icon-clock
      = t('keppler.messages.at')
      = activity.created_at.to_formatted_s(:time)
      = t('keppler.messages.to')
      = activity.created_at.to_formatted_s(:day)
  - else
    %span.time
      %i.icon-clock
      = t('keppler.messages.at')
      = activity.created_at.to_formatted_s(:time)
      = t('keppler.messages.to')
      = activity.created_at.to_formatted_s(:day)
      = t('keppler.messages.since_been_removed')

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
keppler-2.0.7 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.6 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.5 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.4.p1 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.4.pre.p1 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.4 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.3 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.2 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.1 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.0.0 installer/core/app/views/public_activity/layout/_create.html.haml