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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
<%=
component_wrapper do
render(Primer::OpenProject::SidePanel::Section.new) do |section|
section.with_title { Meeting.human_attribute_name(:participants) }
section.with_counter(count: @meeting.participants.count)
if @meeting.templated?
section.with_description { I18n.t("meeting.participants.text.template") }
end
if @meeting.editable?
section.with_action_icon(
icon: :gear,
scheme: :invisible,
tag: :a,
href: manage_participants_dialog_meeting_participants_path(@meeting),
classes: "hide-when-print",
data: { controller: "async-dialog" },
"aria-label": I18n.t("meeting.participants.label.manage_participants"),
test_selector: "manage-participants-button"
)
end
component_wrapper(data: wrapper_data_attributes) do
flex_layout do |participants_container|
participants_container.with_row do
render(OpPrimer::ExpandableListComponent.new(cutoff_limit: 5)) do |list|
elements.each do |item|
list.with_element { render_participant(item) }
end
end
end
if @meeting.editable?
participants_container.with_row(mt: 3) do
render(
Primer::Beta::Button.new(
scheme: :link,
color: :accent,
underline: false,
font_weight: :bold,
tag: :a,
href: manage_participants_dialog_meeting_participants_path(@meeting),
classes: "hide-when-print",
data: { controller: "async-dialog" }
)
) do |button|
button.with_leading_visual_icon(icon: "person-add")
I18n.t("meeting.participants.label.manage_participants")
end
end
end
end
end
end
end
%>