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

chore[Op#40437]: use meaningful var names

Kabiru Mwenja2a22e8b8d897
diff --git a/app/components/work_packages/activities_tab/journals/item_component/add_reactions.html.erb b/app/components/work_packages/activities_tab/journals/item_component/add_reactions.html.erb
index 2860b93aaba..2a062625fc6 100644
--- a/app/components/work_packages/activities_tab/journals/item_component/add_reactions.html.erb
+++ b/app/components/work_packages/activities_tab/journals/item_component/add_reactions.html.erb
@@ -6,8 +6,8 @@
padding: :condensed,
anchor_side: :outside_top,
visually_hide_title: true
- )) do |d|
- d.with_show_button(
+ )) do |overlay|
+ overlay.with_show_button(
icon: "smiley",
"aria-label": I18n.t("reactions.add_reaction"),
title: I18n.t("reactions.add_reaction"),
@@ -15,7 +15,7 @@
test_selector: "add-reactions-button"
)
- d.with_body(pt: 2) do
+ overlay.with_body(pt: 2) do
flex_layout do |add_reactions_container|
journal.available_emoji_reactions.each do |emoji, reaction|
add_reactions_container.with_column(mr: 2) do