app/views/exception_track/logs/index.html.erb in exception-track-1.1.0 vs app/views/exception_track/logs/index.html.erb in exception-track-1.2.0
- old
+ new
@@ -4,11 +4,11 @@
return false;
}
}
</script>
<div class="toolbar">
- <%= @logs.total_count %> exceptions
+ <a class="btn" href="/">Back to App</a>
<div class="pull-right">
<%= form_tag(export_logs_path, method: 'post') do %>
<button type="submit" class="btn">Export last 3 months</button>
<% end %>
@@ -19,9 +19,10 @@
</div>
<% if @logs.blank? %>
<div class="no-record">No exceptions.</div>
<% else %>
+ <h1><%= pluralize(@logs.total_count, 'exception') %></h1>
<%= paginate @logs %>
<table class="table table-borded tabl">
<thead>
<tr>