Sha256: d88c150cd6662c991087d9437e3f017600e8d7555f7785e9fc642e546dc5be51

Contents?: true

Size: 972 Bytes

Versions: 14

Compression:

Stored size: 972 Bytes

Contents

<h3><%=name.demodulize%></h3>
<%='<h3 class="error">Inconsistency Detected</h3>' unless consistent %>
<div class="wrapper">
  <table>
    <%# create node table headers if applicable %>
    <tr>
      <%='<th></th>' unless success %>
      <% data.keys.each do |node| %>
        <th <%='colspan="2"' if success %> scope="col">
          <%= success ? 'consistent' : node %>
        </th>
        <% break if success %>
      <% end %>
    </tr>
    <%# create row headers and display node results %>
    <% data.values.map{|v| v.keys}.flatten.compact.uniq.each do |test| %>
      <tr>
        <th class="data" scope="row"><%= test %></th>
        <% data.values.each do |diagnostic| %>
          <td class="overflow <%= display_info_css(diagnostic[test]) %>">
            <%= display_info_description(diagnostic[test]) %>
          </td>
          <% break if success %>
        <% end %>
      </tr>
    <% end %>
  </table>
</div>

<%= display_alert_message if fatal? %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
marty-1.2.9 app/views/marty/diagnostic/diag.html.erb
marty-1.2.8 app/views/marty/diagnostic/diag.html.erb
marty-1.2.7 app/views/marty/diagnostic/diag.html.erb
marty-1.2.6 app/views/marty/diagnostic/diag.html.erb
marty-1.2.5 app/views/marty/diagnostic/diag.html.erb
marty-1.2.4 app/views/marty/diagnostic/diag.html.erb
marty-1.2.3 app/views/marty/diagnostic/diag.html.erb
marty-1.2.2 app/views/marty/diagnostic/diag.html.erb
marty-1.2.1 app/views/marty/diagnostic/diag.html.erb
marty-1.2.0 app/views/marty/diagnostic/diag.html.erb
marty-1.1.9 app/views/marty/diagnostic/diag.html.erb
marty-1.1.8 app/views/marty/diagnostic/diag.html.erb
marty-1.1.7 app/views/marty/diagnostic/diag.html.erb
marty-1.1.6 app/views/marty/diagnostic/diag.html.erb