Sha256: a82f17653f1dfacdb2269221c7ca45da5f791adf810bf2aac8b8f67c4b27d2d0

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

.profile-popover
  .row.col-md-12
    .row.col-md-6
      .row
        .col-sm-6
          %strong= t('my_forum.profile_popover.posts_count')
        .col-sm-6
          = user.posts_count
      .row
        .col-sm-6
          %strong= t('my_forum.profile_popover.registered_at')
        .col-sm-6
          = time(user.created_at)
      .row
        .col-sm-6
          %strong= t('my_forum.profile_popover.status')
        .col-sm-6
          - is_online = is_online_user?(user.login)
          = is_online ? t('my_forum.profile_popover.online') : t('my_forum.profile_popover.offline')
      - unless is_online
        .row
          .col-sm-6
            %strong= t('my_forum.profile_popover.last_online')
          .col-sm-6
            = 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'

    .row.col-md-6.second_row
      .row
        .col-sm-5
          %strong= t('my_forum.profile_popover.user_name')
        .col-sm-7
          = user.phone || '-'
      .row
        .col-sm-5
          %strong= t('my_forum.profile_popover.phone')
        .col-sm-7
          = user.real_name || '-'
      .row
        .col-sm-5
          %strong= t('my_forum.profile_popover.car_info')
        .col-sm-7
          = user.car_info || '-'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta40 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta39 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta38 app/views/my_forum/topics/_profile_popover.haml