Audit logging improved. References users, screenshots, packages
This commit is contained in:
parent
b6dee6b93c
commit
2fef9c7043
12 changed files with 95 additions and 45 deletions
|
|
@ -14,16 +14,34 @@
|
|||
table
|
||||
thead
|
||||
tr
|
||||
th Message
|
||||
th Level
|
||||
th Section
|
||||
th IP
|
||||
th Message
|
||||
th Level
|
||||
th Section
|
||||
th Package
|
||||
th Screenshot
|
||||
th User
|
||||
th IP
|
||||
tbody
|
||||
- @logs.each do |log|
|
||||
tr
|
||||
td #{log.message }
|
||||
td #{log.level }
|
||||
td #{log.section }
|
||||
td #{log.message}
|
||||
td #{log.level}
|
||||
td #{log.section}
|
||||
td
|
||||
- if log.package
|
||||
= log.package.name
|
||||
- else
|
||||
' -
|
||||
td
|
||||
- if log.screenshot
|
||||
= log.screenshot.id
|
||||
- else
|
||||
' -
|
||||
td
|
||||
- if log.user
|
||||
= log.user.to_s
|
||||
- else
|
||||
' -
|
||||
td #{log.ip_address}
|
||||
|
||||
- else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue