Sha256: 23c3e6a106673e4dac3679ac6b5646c1644c2792eb64f40fa1b8a87274d39ff4
Contents?: true
Size: 1.08 KB
Versions: 25
Compression:
Stored size: 1.08 KB
Contents
<% access = _hb.events.call(:check_page_access, {:page => :logs_latest}) if !access print _("You do not have access to this page.") exit end ob = _hb.events.call(:ob) %> <table class="list"> <thead> <tr> <th><%=_("ID")%></th> <th><%=_("Log")%></th> <%if ob%> <th><%=_("Object")%></th> <%end%> </tr> </thead> <tbody> <% logs = _hb.ob.list(:Log, { "orderby" => [["date_saved", "desc"]], "limit" => 200 }) logs.each do |log| %> <tr> <td> <a href="logs_show.rhtml?log_id=<%=log.id%>"><%=log.id%></a> </td> <td> <%=log.first_line%> </td> <%if ob%> <td> <%=log.objects_html(ob)%> </td> <%end%> </tr> <% end if logs.empty? %> <tr> <td class="error"> <%=_("No logs were found.")%> </td> </tr> <% end %> </tbody> </table>
Version data entries
25 entries across 25 versions & 1 rubygems