Sha256: 5b6e61086f38a653722995f389cedb826ed0ae9999aeb56445afaf4afb7852eb

Contents?: true

Size: 617 Bytes

Versions: 8

Compression:

Stored size: 617 Bytes

Contents

<div class="about_page">
<h3>Service Health</h3>
  <ul class="unstyled">
    <% @states.each do |component| %>
    <li class="component">
      <span class="label label-<%=component['status'] == 'error' ? 'important' : 'success'%>"><%=component['status']%></span>
      <b><%=link_to component['component'], component['component']%></b>
      <% if component['errors'].length > 0 %>
        <ul>
          <li class="component-error">
            <%= component['errors'].to_a.join('</li><li class="component-error">').html_safe %>
          </li>
        </ul>
      <% end %>
    </li>
    <% end %>
  </ul>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
about_page-0.3.1 app/views/about_page/about/health.html.erb
about_page-0.3.0 app/views/about_page/about/health.html.erb
about_page-0.2.7 app/views/about_page/about/health.html.erb
about_page-0.2.6 app/views/about_page/about/health.html.erb
about_page-0.2.5 app/views/about_page/about/health.html.erb
about_page-0.2.4 app/views/about_page/about/health.html.erb
about_page-0.2.3 app/views/about_page/about/health.html.erb
about_page-0.2.2 app/views/about_page/about/health.html.erb