Show More
Commit Description:
- login report...
Commit Description:
- login report
- fix bugs on pagination on user manage
References:
File last commit:
Show/Diff file:
Action:
app/views/report/login_detail_query.json.jbuilder
| 10 lines
| 409 B
| text/plain
| TextLexer
|
r792 | json.draw params['draw']&.to_i | |||
json.recordsTotal @recordsTotal | ||||
json.recordsFiltered @recordsFiltered | ||||
json.data do | ||||
json.array! @logins do |login| | ||||
json.login_text login.user ? "<a href='#{stat_user_path(login.user_id)}'>(#{login.user.login})</a> #{login.user.full_name}" : '-- deletec user --' | ||||
json.created_at login.created_at.strftime('%Y-%m-%d %H:%M') | ||||
json.ip_address login.ip_address | ||||
end | ||||
end | ||||