Sha256: d723151a8a419defc69d5107e4a41783cc4fd09656df24fe7170f7c6b9ad6fa5

Contents?: true

Size: 1.81 KB

Versions: 93

Compression:

Stored size: 1.81 KB

Contents

%table{:width=>"100%"}
  %tr{:style=>"color:white; background-color:#6A6A6A;"}
    %th Status
    %th Step
    %th Starter
    %th Begin
    %th End
  - @xmain.runseqs.form_action.each do |r|
    %tr
      - if @xmain.status=='X'
        %td{:align=>'center'}= image_tag 'cancel.png'
      - else
        %td{:align=>'center'}= status_icon(r.status)
      %td= r.name
      %td{:align=>'center'}
        - if r.role.blank? && @xvars[:action]
          - u = @xvars[:action][:assign].blank? ? ' ' : User.find(@xvars[:action][:assign]).full_name
          = u
          - if @xvars[:action][:final]=='n'
            %td{:align=>'center'} -
            %td{:align=>'center'} -
          - else
            - if r.start
              %td= r.start.strftime('%c')
            - else
              %td{:align=>'center'} -
            - if r.stop
              %td= r.stop.strftime('%c')
            - else
              %td{:align=>'center'} -
        - else
          = role_name r.role
          - if r.start
            %td= r.start.strftime('%c')
          - else
            %td{:align=>'center'} -
          - if r.stop
            %td= r.stop.strftime('%c')
          - else
            %td{:align=>'center'} -
.label
  = image_tag "cog.png"
  Document
%table{:width=>"100%"}
  %tr{:style=>"color:white; background-color:#6A6A6A;"}
    %th Document
    %th Name
    %th User
    %th Date
  - @xmain.docs.each do |doc|
    - next unless doc.display
    %tr
      %td
        - if doc.content_type=='output'
          = image_tag 'page_output.png'
        - else
          = image_tag 'page_attach.png'
        = link_to align_text(doc.name), "/engine/document/#{doc.id}", :target=>'_blank'
      %td= doc.filename
      %td= doc.user.try(:full_name)
      %td= doc.created_at.strftime('%c')

Version data entries

93 entries across 90 versions & 6 rubygems

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