Sha256: 0becd1371f945ebd158cd12dd0768452f76ed2fab3447dbec0d066ca4cfcf39f

Contents?: true

Size: 703 Bytes

Versions: 5

Compression:

Stored size: 703 Bytes

Contents

.profile-popover
  .row
    .col-sm-5= t('my_forum.profile_popover.posts_count')
    .col-sm-4= user.posts_count

  .row
    .col-sm-5= t('my_forum.profile_popover.registered_at')
    .col-sm-4= time(user.created_at)

  .row
    .col-sm-5= t('my_forum.profile_popover.status')
    .col-sm-4
      - is_online = is_online_user?(user.login)
      = is_online ? t('my_forum.profile_popover.online') : t('my_forum.profile_popover.offline')

  - unless
    .row
      .col-sm-5= t('my_forum.profile_popover.last_online')
      .col-sm-4= time(user.updated_at)

  .row.pm
    .col-sm-12= link_to t('my_forum.profile_popover.write_pm'), new_private_message_path(to: user.login), class: 'btn btn-xs btn-warning'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta37 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta36 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta35 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta34 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta33 app/views/my_forum/topics/_profile_popover.haml