Sha256: 33bc32f5c6d0db62686196eaf99666b42b5136dce0d8a96eed070cff2125dc3d

Contents?: true

Size: 1.46 KB

Versions: 23

Compression:

Stored size: 1.46 KB

Contents

.head-title
  .menu-switch
    i.fa.fa-bars
  .row
    .col-md-12
      ul.user-info.pull-right.fadeInLeftBig.animated
        li.profile-info.dropdown
          a.dropdown-toggle data-toggle="dropdown" href="#"
            = image_tag(current_user.avatar.thumb, class:"img-circle")
            = current_user.name + " " + current_user.surname
          ul.dropdown-menu
            li.caret
            li
              = link_to admin_user_path(current_user)
                i.fa.fa-user
                | Meu Perfil
            li
              = link_to logout_path, method: "post" do
                i.fa.fa-clipboard
                | Sair

      / ul.nav.top-menu.hidden-xs.notify-row.fadeInRightBig.animated

      /   li#header_notification_bar.dropdown
      /     a.dropdown-toggle data-toggle="dropdown" href="#"
      /       i.fa.fa-bell-o
      /       - if notifications.count > 0
      /         span.badge.bg-warning = notifications.count
      /     ul.dropdown-menu.extended.notification
      /       .notify-arrow.notify-arrow-red
      /       li
      /         p.red Você tem #{notifications.count} Notificações
      /       - notifications.each do |notification|
      /         li
      /           = link_to admin_contact_path(notification)
      /             span.label.label-warning
      /               i.fa.fa-exclamation-triangle
      /             |  Contato
      /             span.small.italic = " " + "há #{time_ago_in_words(notification.created_at)}"


Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wrgem-0.0.32 lib/generators/wradmin/template/views/admin/partials/_head_title.slim
wrgem-0.0.31 lib/generators/wradmin/template/views/admin/partials/_head_title.slim
wrgem-0.0.30 lib/generators/wradmin/template/views/admin/partials/_head_title.slim