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

feature flag icon size

Kabiru Mwenja457a3f811df4
diff --git a/app/components/work_packages/activities_tab/journals/item_component.html.erb b/app/components/work_packages/activities_tab/journals/item_component.html.erb
index 843441c1407..4e5b0f71189 100644
--- a/app/components/work_packages/activities_tab/journals/item_component.html.erb
+++ b/app/components/work_packages/activities_tab/journals/item_component.html.erb
@@ -74,7 +74,7 @@
Primer::Beta::Octicon.new(
:"dot-fill", # color is set via CSS as requested by UI/UX Team
classes: "work-packages-activities-tab-journals-item-component--notification-dot-icon",
- size: :small,
+ size: (OpenProject::FeatureDecisions.comments_with_restricted_visibility_active? ? :small : :medium),
data: { test_selector: "op-journal-unread-notification", "op-ian-center-update-immediate": true }
)
)
diff --git a/app/components/work_packages/activities_tab/journals/item_component/details.rb b/app/components/work_packages/activities_tab/journals/item_component/details.rb
index 2d86cf1c072..02341a322de 100644
--- a/app/components/work_packages/activities_tab/journals/item_component/details.rb
+++ b/app/components/work_packages/activities_tab/journals/item_component/details.rb
@@ -193,7 +193,7 @@ module WorkPackages
render(Primer::Beta::Octicon.new(
:"dot-fill", # color is set via CSS as requested by UI/UX Team
classes: "work-packages-activities-tab-journals-item-component-details--notification-dot-icon",
- size: :medium,
+ size: (OpenProject::FeatureDecisions.comments_with_restricted_visibility_active? ? :small : :medium),
data: { test_selector: "op-journal-unread-notification", "op-ian-center-update-immediate": true }
))
end