Skip to content

Commit

Permalink
Add link to check dashboard in tag reports
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed May 17, 2012
1 parent e3b712d commit 2ba88f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/dashboard/views/tagReport.ejs
Expand Up @@ -39,7 +39,10 @@
<tbody>
<% checkStats.forEach(function(stat){ %>
<tr class="<%= (stat.uptime < 100) ? 'red' : (stat.responsiveness < 100) ? 'orange' : '' %>">
<td><%= stat.check.name %></td>
<td>
<a href="<%= route + '/check/' + stat.check._id %>"><%= stat.check.name %></a>
<a href="<%= stat.check.url %>" target="_blank"><img src="<%= route %>/images/external-link-ltr-icon.png"></a>
</td>
<td data-ups="<%= stat.ups %>" data-count="<%= stat.count %>"><%= (stat.ups / stat.count * 100).toFixed(3).replace('.000', '') %>%</td>
<td><%= (stat.responsives / stat.count * 100).toFixed(3).replace('.000', '') %>%</td>
<td><%= stat.downtime / 1000 %>s</td>
Expand Down

0 comments on commit 2ba88f3

Please sign in to comment.