Sha256: 049e0ae501f3b74562e9220c5ace333533bd18c1d0f86800edb95529445a9e86

Contents?: true

Size: 1.6 KB

Versions: 15

Compression:

Stored size: 1.6 KB

Contents

.box.box-info
  .box-header.with-border
    .box-tools.pull-right
      %button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
        %i.fa.fa-minus
      %button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
        %i.fa.fa-times
  / /.box-header
  .box-body
    .table-responsive
      %table.table.no-margin
        %thead
          %tr
            - unless current_ma_user.nil?
              - if current_ma_user.role.include?"A"
                %th Author
            %th Title
            %th Description
            %th Created
            %th Updated
            %th Delete
            %th Edit  
          - report.each do |article|
            - user = User.find(article.user_id)
            %tr
              -# if current_ma_user.role.include?"A"
              - unless current_ma_user.nil?
                - if current_ma_user.role.include?"A"
                  %td= user.code
              %td= link_to article.title, :controller=>"articles", :action=>"show", :article_id => article.id
              %td= article.text.html_safe
              %td= article.created_at.strftime('%m/%d/%Y')
              %td= article.updated_at.strftime('%m/%d/%Y')
              %td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), {controller: "articles", action: "destroy",  article_id: article.id}, data: { confirm: "Please Confirm" }
              %td(align='center')= link_to image_tag('pencil.png', style:'border:none; float:none;'), {controller: "jinda", action: "init", s: 'articles:xedit_article', article_id: article.id}, data: { confirm: "Please Confirm" }

Version data entries

15 entries across 12 versions & 2 rubygems

Version Path
jinda-0.8.0 test/dummy/app/views/articles/_report.haml
jinda-0.8.0 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.7.4 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.7.4 test/dummy/app/views/articles/_report.haml
jinda-0.7.7.3 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.7.3 test/dummy/app/views/articles/_report.haml
jinda-0.7.7.2 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.7.1 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda_mind-1.0.0 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.7 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.6 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.5.5 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.5.4 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.5.3 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.5.2 lib/generators/jinda/templates/app/views/articles/_report.haml