Sha256: 6b70a5bc7bbc8db959636a17397f71a4aacb00ff46f90ed943cdce492d97a587

Contents?: true

Size: 1.52 KB

Versions: 24

Compression:

Stored size: 1.52 KB

Contents

.profile-popover
  .row.col-md-12
    - unless current_user
      %p.text-center=t('my_forum.profile_popover.only_for_registereg_users')
    - else
      .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.real_name || '-'
        .row
          .col-sm-5
            %strong= t('my_forum.profile_popover.phone')
          .col-sm-7
            = user.phone || '-'
        .row
          .col-sm-5
            %strong= t('my_forum.profile_popover.car_info')
          .col-sm-7
            = user.car_info || '-'

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
my_forum-0.0.2.4 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.2.3 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.2.2 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.2.1 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.2 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta60 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta59 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta58 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta57 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta56 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta55 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta54 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta53 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta52 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta51 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta50 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta49 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta48 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta47 app/views/my_forum/topics/_profile_popover.haml
my_forum-0.0.1.beta46 app/views/my_forum/topics/_profile_popover.haml