Sha256: 48837f4fcc90b8b748f1c34a329f96aedc06e409eb4b9aef1ec33befb758ac39
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
<% if @presenter.history? && @presenter.display_history_details?%> <div id="availability-history" class="status-section"> <h3><%= t('qa_server.monitor_status.history.title') %></h3> <p class="status-update-dtstamp"><%= t('qa_server.monitor_status.history.since', date: @presenter.first_updated) %></p> <%#= column_chart @presenter.historical_summary, stacked: true, colors: ["green", "red"], xtitle: 'Authority', ytitle: 'Pass-Fail', legend: 'bottom' %> <% if @presenter.display_historical_graph? %> <%= image_tag(@presenter.historical_graph, alt: 'History Graph Unavailable') %> <% end %> <% if @presenter.display_historical_datatable? && !@presenter.historical_summary.nil? %> <table class="status"> <tr> <th><%= t('qa_server.monitor_status.history.authority') %></th> <th><%= t('qa_server.monitor_status.history.days_tested') %></th> <th><%= t('qa_server.monitor_status.history.days_passing') %></th> <th><%= t('qa_server.monitor_status.history.days_failing') %></th> <th><%= t('qa_server.monitor_status.history.percent_failing') %></th> </tr> <% @presenter.historical_summary.each do |entry| %> <tr> <td><%= @presenter.historical_data_authority_name(entry) %></td> <td class="status-neutral"><%= @presenter.days_authority_tested(entry) %></td> <td class="<%= @presenter.passing_style_class(entry) %>"><%= @presenter.days_authority_passing(entry) %></td> <td class="<%= @presenter.failure_style_class(entry) %>"><%= @presenter.days_authority_failing(entry) %></td> <td class="<%= @presenter.failure_style_class(entry) %>"><%= @presenter.percent_authority_failing_str(entry) %></td> </tr> <% end %> </table> <% end %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qa_server-5.5.1 | app/views/qa_server/monitor_status/_test_history.html.erb |