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

do not use output in highlight CSS as it already concat'ed to the output buffer

Klaus Zandersf843faef46e7
diff --git a/app/views/highlighting/styles.css.erb b/app/views/highlighting/styles.css.erb
index 6223cfd88f4..5bd43742e0d 100644
--- a/app/views/highlighting/styles.css.erb
+++ b/app/views/highlighting/styles.css.erb
@@ -1,19 +1,19 @@
<%# Highlightable resources %>
-<%= resources_scope_color_css("status", ::Status) %>
-<%= resources_scope_color_css("priority", ::IssuePriority) %>
-<%= resources_scope_color_css("type", ::Type, inline_foreground: true) %>
+<% resources_scope_color_css("status", ::Status) %>
+<% resources_scope_color_css("priority", ::IssuePriority) %>
+<% resources_scope_color_css("type", ::Type, inline_foreground: true) %>
<%# Color coded icons %>
-<%= resources_scope_color_css("project_phase_definition", Project::PhaseDefinition, inline_foreground: true) %>
+<% resources_scope_color_css("project_phase_definition", Project::PhaseDefinition, inline_foreground: true) %>
<% Meetings::Statuses::AVAILABLE.each do |meeting_status| %>
-<%= resource_color_css("meeting_status", meeting_status) %>
+ <% resource_color_css("meeting_status", meeting_status) %>
<% end %>
<% Projects::Statuses::AVAILABLE.each do |project_status| %>
-<%= resource_color_css("project_status", project_status) %>
+ <% resource_color_css("project_status", project_status) %>
<% end %>
-<%= color_css %>
+<% color_css %>
<%# usage classes %>
.__hl_border_top { border-top: 4px solid hsl(var(--color-h), calc(var(--color-s) * 1%), calc((var(--color-l) - 15) * 1%)) !important; }