mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-04-02 09:51:57 -04:00
Added a setting to apply green/red colors to Start/Stop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user