Sha256: dfaba405c821b8228a701ecac180ea361fa870399c7d214501bfc58dcf46875f

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 Bytes

Contents

- title "Tasks and Events"
:javascript
  $(document).ready(function(){
    setInterval(update_task_list, 5000);
  });

  function update_task_list(){
    if (running_task_queues == true) {
      $.ajax({url: "#{url_for :action => 'my_events'}", type: "POST", dataType: "script" });
    }
    running_task_queues = #{TaskQueue.any_running?};

  };

= render :partial => 'queue_dispatcher_views/search_results_my_events'
%br/
= will_paginate @tasks

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
queue_dispatcher-2.5.3 app/views/queue_dispatcher_views/my_events.html.haml
queue_dispatcher-2.3.0 app/views/queue_dispatcher_views/my_events.html.haml
queue_dispatcher-2.1.0 app/views/queue_dispatcher_views/my_events.html.haml
queue_dispatcher-1.5.1 app/views/queue_dispatcher_views/my_events.html.haml
queue_dispatcher-1.3.1 app/views/queue_dispatcher_views/my_events.html.haml
queue_dispatcher-1.3.0 app/views/queue_dispatcher_views/my_events.html.haml