Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Change meeting colors and add to cache

Oliver Güntherc40170c79252
diff --git a/app/helpers/highlighting_helper.rb b/app/helpers/highlighting_helper.rb
index 0760f745f17..8297a7ddcb0 100644
--- a/app/helpers/highlighting_helper.rb
+++ b/app/helpers/highlighting_helper.rb
@@ -1,6 +1,6 @@
module HighlightingHelper
def highlight_css_version_tag(max_updated_at = highlight_css_updated_at)
- OpenProject::Cache::CacheKey.expand max_updated_at
+ OpenProject::Cache::CacheKey.expand [max_updated_at, Meetings::Statuses::AVAILABLE]
end
def highlight_css_updated_at
diff --git a/modules/meeting/app/constants/meetings/statuses.rb b/modules/meeting/app/constants/meetings/statuses.rb
index df89c7bcf66..8251cb0df80 100644
--- a/modules/meeting/app/constants/meetings/statuses.rb
+++ b/modules/meeting/app/constants/meetings/statuses.rb
@@ -32,9 +32,9 @@ module Meetings
module Statuses
RECORD = Struct.new(:id, :color, keyword_init: true)
- OPEN = RECORD.new(id: "open", color: Color.new(hexcode: "#1F883D"))
- IN_PROGRESS = RECORD.new(id: "in_progress", color: Color.new(hexcode: "#9A6700"))
- CLOSED = RECORD.new(id: "closed", color: Color.new(hexcode: "#565c63"))
+ OPEN = RECORD.new(id: "open", color: Color.new(hexcode: "#006edb"))
+ IN_PROGRESS = RECORD.new(id: "in_progress", color: Color.new(hexcode: "#894ceb"))
+ CLOSED = RECORD.new(id: "closed", color: Color.new(hexcode: "#6e7781"))
AVAILABLE = [
OPEN,