Added a setting to apply green/red colors to Start/Stop

This commit is contained in:
2026-03-21 07:53:56 -04:00
parent 490fbd476d
commit 60dfa7ae4a
6 changed files with 33 additions and 24 deletions

View File

@@ -9,7 +9,6 @@ module Stopwatch
Stopwatch::Hooks # just load it
end
def self.settings
Setting.plugin_stopwatch
end
@@ -42,4 +41,8 @@ module Stopwatch
return activities.detect{ |a| a == default || a.parent == default }
end
end
def self.highlighted_links
settings[:highlighted_links]
end
end