Sha256: 17c2716891518230e80962bed3003d82725d4e8599e45d84b445a74fa8761073

Contents?: true

Size: 1.36 KB

Versions: 25

Compression:

Stored size: 1.36 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
    %small
      = t('keppler.messages.has')
      = t('keppler.actions.created').downcase
      = t("keppler.models.singularize.#{activity.trackable_type.underscore.split('/').last}").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)

Version data entries

25 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.3 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.1.2 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.1.1 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.1.pre.p1 installer/core/app/views/public_activity/layout/_create.html.haml
keppler-2.1 installer/core/app/views/public_activity/layout/_create.html.haml