") if result.console_output size_of_lines = text.split("

").size task = Mutx::Tasks::Task.get(result.task_id) custom_params = result.custom_params.empty? ? 'Not Defined' : result.custom_params_values.gsub('mutx_custom_params=',"") execution_name = result.execution_name.empty? ? 'Not Defined' : result.execution_name.gsub('-_-',' ') end ?> % if result

{{result.task['type'].capitalize}} {{result.task_name}} result execution {{result.stopped? ? '(Stopped)' : ''}}

ID: {{result.id}}
Status: {{result.status}}
% if result.timeout
Timeout: Stopped After {{result.timeout}} seconds
% end % if result.started_at
Duration:{{Mutx::View.formatted_for result.elapsed_time}}
% end
Execution Name: {{execution_name}}
Custom parameters:{{custom_params}}
 
% if result.task['type'] == "task" {{Mutx::View.icon_for("back")}} Return to task   % else {{Mutx::View.icon_for("back")}} Return to test   % end JSON Data Execution Data
% if size_of_lines > 15
% end

            {{text}}
          

% if size_of_lines > 15

% end

Return to task


% else

There is no result with id: {{result_id}}


Back % end