Jump to content

Highlight recent logs module


benbyf
 Share

Recommended Posts

Hi,

This is a basic module to add some classes and css to teh logs list page based on the amount of time since the log has been edited.

less than a minute: Red -> purple -> grey less than a week

https://github.com/benbyford/HighlightRecentLogs

1647227885_Screenshot2024-11-29at12_40_21.thumb.png.ef0d06f4091ff9e78a7b34c1aa0561e2.png

I hooked to the ProcessLogger module ___execute() function and basically overwrote it. Felt abit nasty to me, I wondered if there would have been a better way of doing it?

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...