Sha256: 8c46da89ce35c85e9113b3546ba224589c7beee01dbfaaad31d0c130e2f135f7

Contents?: true

Size: 811 Bytes

Versions: 11

Compression:

Stored size: 811 Bytes

Contents

- if task.error_msg.blank?
  - event_class = "event"
  - event_onclick = ""
- else
  - event_class = "event pointer"
  - event_onclick = onclick_to_remote :url => {:action => 'expand_event'}, :with => "'id=#{task.id}'"

- if @expanded_events.include? task.id
  - event_style = ""
- else
  - event_style = "display:none"

%tr{:id => "task_#{task.id}", :class => event_class, :onclick => event_onclick }
  %td.qd_icon
    = icon_for_task task
    = task.perc_finished if task.running?
  %td.qd_date= task.updated_at.to_s :history
  %td.qd_prosa
    - if show_ids
      #{id_prefix}#{task.id}:
    = task.prosa
    - unless task.error_msg.blank?
      = image_tag 'icon_expand.gif' 
      %div{:id => "task_#{task.id}_details", :class => 'qd_error_msg', :style => event_style}
        = task.error_msg
        %br

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
queue_dispatcher-1.2.0 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.19 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.18 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.17 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.16 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.15 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.14 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.12 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.11 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.10 app/views/queue_dispatcher_views/_task_my_event.html.haml
queue_dispatcher-1.1.9 app/views/queue_dispatcher_views/_task_my_event.html.haml