0 "running" else "ready" end color = Mutx::View.color(status) ?>

{{ task['name'] }}

    % if running_results.size > 0
  •    Running {{ running_results.size }} tasks % if max_number_of_execs_reached (Maximum no. of execution reached) % end
  • % end % unless max_number_of_execs_reached
  • % task_type = (task["type"] == "test") ? "tests" : "tasks" % form_url = "/#{task_type}/#{task["name"]}/run"
    % unless task["custom_params"].empty? {{ partial('custom-params/_custom_params', custom_params: task["custom_params"]) }} % end


  • % end
  • % if task["cronneable"]=="on"
    Cron information {{Mutx::View.icon_for('repeat')}}

    Run every {{task["cron_time"]}} minutes

    {{Mutx::View.from_to(task)}} {{Mutx::View.run_on(task)}}
    % end % if task["notifications"]=="on"
    Notifications {{Mutx::View.icon_for('notification')}}

    Notificates on {{task["notify_on"]}}

    To: {{task["mail"]}}

    Subject: {{task["subject"]}}

    % end % if task["information"]
    Information about {{task['name']}} {{Mutx::View.icon_for('info')}}

    {{task["information"]}}

    % end % results_list = Mutx::Results.all_results_for task["_id"] % if results_list and ! results_list.empty?
    Results for {{task["name"]}}
    % results_list[0..9].each do |result_data| {{ partial('task_results/_result_item', result: result_data) }} % end
    When started Label Time Elapsed Viewed Notified File Attached Console Status
    {{Mutx::View.icon_for('results')}} See all results
    % end