Sha256: 32c249f43faf80105b502ffe8bc9d07fddbfa408893d6474b3b299dfba355793

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

- submitted_content = version_dashboard_notifications_data
.row-fluid
  = render :partial => "/gluttonberg/admin/content/main/sidebar"
  .span9
    .row-fluid
      .page-header
        %h1
          Waiting for approval

      - unless submitted_content.blank?
        %table{:cellpadding => 0, :cellspacing => 0, :summary => "Submitted content" , :class => "table table-bordered "}
          %thead
            %tr
              %th
                Content
              %th
                User
              %th
                Submitted At
              %th.controls

          %tbody
            - submitted_content.each do |content|
              %tr{ :class => "#{cycle("even", "odd")}"}
                %td{:style => "width:40%;"}
                  = link_to(content[0], content[1], :class => " ")                  
                %td{:style => "width:10%"}
                  - unless content[2].user.blank?
                    = content[2].user.full_name
                %td{:style => "width:15%"}
                  = content[2].created_at.strftime("%d/%m/%Y at %H:%M")
                %td.controls{:style => "width:30%"}
                  = link_to("Review", content[1], :class => " btn")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/main/waiting_for_approval.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/main/waiting_for_approval.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/main/waiting_for_approval.html.haml