Message |
Tag |
Created at |
<% Adminix.watcher.service.logs.each do |log| %>
<%=log.message%> |
<%=log.tag%> |
<%=log.created_at%> |
<% end %>
<%= (Adminix.watcher.service.logs.count) == 0 ? "Showing 0 to 0 of 0 entries" : ((@page * @per_page) >= (Adminix.watcher.service.logs.count) ? "Showing #{(@page - 1) * @per_page + 1} to #{Adminix.watcher.service.logs.count} of #{Adminix.watcher.service.logs.count} entries" : "Showing #{(@page - 1) * @per_page + 1} to #{(@page * @per_page)} of #{Adminix.watcher.service.logs.count} entries")%>