Sha256: 5218a56f0d813d390c96dfcb23d8ea07ca598d890624113f755d60855e61288c

Contents?: true

Size: 1 KB

Versions: 83

Compression:

Stored size: 1 KB

Contents

- @xmains= xmains
%table{:id=>"pending-table", :width=>"100%"}
  %tr{:style=>"color:white; background-color:#97BF60;"}
    %th id
    %th task
    %th step
    %th starter
    %th begin
    %th cancel
  - @xmains.each do |xmain|
    - @xmain= xmain
    - next unless xmain.current_runseq
    - @runseq= Jinda::Runseq.find(xmain.current_runseq)
    - next unless @runseq
    - next unless %w(form output pdf).include?(@runseq.action)
    - next if @xmain.runseqs.first==@xmain.current_runseq && @xmain.user!=current_ma_user
    - next unless authorize?
    %tr
      %td= link_to xmain.xid, :controller=>"jinda", :action=>"run", :id=>xmain.id
      %td= link_to xmain.name, :controller=>"jinda", :action=>"run", :id=>xmain.id
      %td= @runseq.name
      %td{:align=>'center'}= xmain.user.try :code
      %td= xmain.start.strftime("%c")
      %td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), "#", :onclick=>"if (confirm('Please Confirm')) {location.hash='/jinda/cancel/#{xmain.id}';}"

Version data entries

83 entries across 80 versions & 4 rubygems

Version Path
jinda-0.8.0 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda-0.8.0 test/dummy/app/views/jinda/_pending_page.haml
jinda-0.7.7.4 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda-0.7.7.4 test/dummy/app/views/jinda/_pending_page.haml
jinda-0.7.7.3 test/dummy/app/views/jinda/_pending_page.haml
jinda-0.7.7.3 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda-0.7.7.2 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda-0.7.7.1 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda_mind-1.0.0 lib/generators/jinda/templates/app/views/jinda/_pending_page.haml
jinda-0.7.7 app/views/jinda/_pending_page.haml
jinda-0.7.6 app/views/jinda/_pending_page.haml
jinda-0.7.5.5 app/views/jinda/_pending_page.haml
jinda-0.7.5.4 app/views/jinda/_pending_page.haml
jinda-0.7.5.3 app/views/jinda/_pending_page.haml
jinda-0.7.5.2 app/views/jinda/_pending_page.haml
jinda-0.7.5.0 app/views/jinda/_pending_page.haml
jinda-0.7.3 app/views/jinda/_pending_page.haml
jinda-0.7.2 app/views/jinda/_pending_page.haml
jinda-0.7.1 app/views/jinda/_pending_page.haml
jinda-0.7.0.4 app/views/jinda/_pending_page.haml