% if @presenter.history? && @presenter.display_history_details?%>
<%= t('qa_server.monitor_status.history.since', date: @presenter.first_updated) %>
<%#= 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? %><%= t('qa_server.monitor_status.history.authority') %> | <%= t('qa_server.monitor_status.history.days_tested') %> | <%= t('qa_server.monitor_status.history.days_passing') %> | <%= t('qa_server.monitor_status.history.days_failing') %> | <%= t('qa_server.monitor_status.history.percent_failing') %> |
---|---|---|---|---|
<%= @presenter.historical_data_authority_name(entry) %> | <%= @presenter.days_authority_tested(entry) %> | <%= @presenter.days_authority_passing(entry) %> | <%= @presenter.days_authority_failing(entry) %> | <%= @presenter.percent_authority_failing_str(entry) %> |