Sha256: b4171c98a1833dc1359461589b5b0a3908fda534fb205c7d1161acebce3f578a

Contents?: true

Size: 1.42 KB

Versions: 10

Compression:

Stored size: 1.42 KB

Contents

<div title="Command: {{result['command']}}">
  <tr class="small" onclick="goClean('/results/{{result["_id"]}}/log/');">
    <th>{{Mutx::Support::TimeHelper.formatted_time_for(result["started_at"])}}</th>
    % execution_name = !result["execution_name"].empty? ? result["execution_name"].gsub("-_-"," ") : '<small>Not defined</small>'
    <th>{{execution_name}}</th>
    % elapsed = (result["finished_at"] || Time.now.to_i) - result["started_at"]
    <th>{{Mutx::View.formatted_for(elapsed)}}</th>
    <th style="text-align: center;" >
      % if result["saw"]
        <a href="#">
          <span class="glyphicon glyphicon-eye-open"></span>
        </a>
      % else
        <span class="glyphicon glyphicon-eye-close"></span>
      % end
    </th>
    <th style="text-align: center;" >
      % if result["notified"].eql? "yes"
        <span class="glyphicon glyphicon-envelope"></span>
      % else
        <span class="glyphicon glyphicon-remove"></span>
      % end
    </th>
    <th style="text-align: center;" >
      % if result["file_attached"].eql? "yes"
        <span class="glyphicon glyphicon-paperclip"></span>
      % else
        <span class="glyphicon glyphicon-remove"></span>
      % end
    </th>    
    <th>
      <a href='{{ path_for(:results_log, result_id: result["_id"]) }}'>
        {{Mutx::View.icon_for("console_log")}}
      </a>
    </th>
    <th>
      {{Mutx::View.icon_for_result_status(result)}}
    </th>
  </tr>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutx-0.2.9 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.8 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.7 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.6 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.5 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.4 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.3 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.2 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.1 lib/mutx/view/task_results/_result_item.mote
mutx-0.2.0 lib/mutx/view/task_results/_result_item.mote