Sha256: db0bd41d8e6062df3ae16033712f4aa1313c9f72ee12d6f523f9636cdc9bcdc6

Contents?: true

Size: 616 Bytes

Versions: 3

Compression:

Stored size: 616 Bytes

Contents

<% page_title "Tag: #{h @tag[:name]}" %>

<div class="page-header">
  <h2>Tag: <%= h @tag[:name] %></h2>
</div>

<% if @checks.nil? || @checks.empty? %>
  <p>No checks</p>
<% else %>
  <table class="table table-bordered table-hover table-condensed">
    <tr>
      <th>Name</th>
      <th>Failing?</th>
    </tr>
    <% @checks.each do |check| %>
    <tr>
      <td><a href="<%= @base_url %>checks/<%= check[:id] %>" title="check details"><%= h check[:name] %></a></td>
      <td><%=
case check[:failing]
when true
  'Y'
when false
  'N'
else
  '?'
end %></a></td>
    </tr>
    <% end %>
  </table>
<% end %>
<br>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flapjack-2.0.0 lib/flapjack/gateways/web/views/tag.html.erb
flapjack-2.0.0rc1 lib/flapjack/gateways/web/views/tag.html.erb
flapjack-2.0.0b1 lib/flapjack/gateways/web/views/tag.html.erb