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

Run `erb-lint -a` on view file

Aaron Contreras31a073093af8
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index a94b0445b70..024ebd243e7 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -61,15 +61,20 @@
end
end
- grid.with_area(:actions, tag: :div, justify_self: :end) do
- render(Primer::Alpha::ActionMenu.new) do |menu|
- menu.with_show_button(icon: "kebab-horizontal", 'aria-label': t("label_agenda_item_actions"), scheme: :invisible, test_selector: 'op-meeting-agenda-actions')
- edit_action_item(menu) if @meeting_agenda_item.editable?
- add_note_action_item(menu) if @meeting_agenda_item.editable?
- move_actions(menu)
- delete_action_item(menu)
- end if edit_enabled?
- end
+ grid.with_area(:actions, tag: :div, justify_self: :end) do
+ if edit_enabled?
+ render(Primer::Alpha::ActionMenu.new) do |menu|
+ menu.with_show_button(icon: "kebab-horizontal",
+ 'aria-label': I18n.t(:label_agenda_item_actions),
+ scheme: :invisible,
+ test_selector: 'op-meeting-agenda-actions')
+ edit_action_item(menu) if @meeting_agenda_item.editable?
+ add_note_action_item(menu) if @meeting_agenda_item.editable?
+ move_actions(menu)
+ delete_action_item(menu)
+ end
+ end
+ end
grid.with_area(:notes, tag: :div) do
if @meeting_agenda_item.notes.present?