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
use system argument instead of custom classes
bsatarnejad7430dfec26f9
diff --git a/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb b/modules/meeting/app/components/meetings/sidebar/participants_component.html.erbindex 10df70997d3..d63449e4fcd 100644--- a/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb@@ -48,9 +48,9 @@endend- list.with_row(mt: 1) do+ list.with_row doflex_layout do |flex|- flex.with_row(classes: 'd-none', data: { 'meetings-sidebar-participants-target': "hiddenParticipants" }) do+ flex.with_row(display: :none, data: { 'meetings-sidebar-participants-target': "hiddenParticipants" }) doflex_layout do |hidden_user_list|@meeting.invited_or_attended_participants.sort[MAX_SHOWN_PARTICIPANTS..].each do |participant|hidden_user_list.with_row(mt: 1) do@@ -59,7 +59,7 @@endendend- flex.with_row do+ flex.with_row(mt: 1) dorender (Primer::Beta::Button.new(scheme: :invisible,data: { 'meetings-sidebar-participants-target': "showHideButton" })) { I18n.t('label_meeting_show_hide_participants',count: @meeting.invited_or_attended_participants.count - MAX_SHOWN_PARTICIPANTS) }@@ -73,9 +73,9 @@participants_container.with_row(display: [:block, :none, :none, :none, :none]) doflex_layout do |flex|if count == 0- render(Primer::Beta::Text.new(color: :subtle)) { t("label_meeting_no_participants") }+ render(Primer::Beta::Text.new) { t("label_meeting_no_participants") }else- flex.with_row(display: :none, data: { 'meetings-sidebar-participants-target': "hiddenMobileParticipants" }) do+ flex.with_row(mb: 1, display: :none, data: { 'meetings-sidebar-participants-target': "hiddenMobileParticipants" }) doflex_layout do |details|@meeting.invited_or_attended_participants.sort.each do |participant|details.with_row(mt: 1) do@@ -86,10 +86,10 @@endflex.with_row doflex.with_column do- render(Primer::Beta::Octicon.new('people', color: :subtle, mr: 1))+ render(Primer::Beta::Octicon.new('people', mr: 1))endflex.with_column do- render(Primer::Beta::Text.new(color: :subtle, mr: 1)) { t('label_meeting_count_participants', count: @meeting.invited_or_attended_participants.count) }+ render(Primer::Beta::Text.new(mr: 1)) { t('label_meeting_count_participants', count: @meeting.invited_or_attended_participants.count) }endflex.with_column(data: { 'meetings-sidebar-participants-target': "showHideMobileButton" }) dorender(Primer::Beta::Link.new(href: "#", target: "_blank")) dodiff --git a/modules/meeting/app/components/meetings/sidebar/state_component.html.erb b/modules/meeting/app/components/meetings/sidebar/state_component.html.erbindex 8da7b29921b..d1d111d9fb4 100644--- a/modules/meeting/app/components/meetings/sidebar/state_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/state_component.html.erb@@ -24,7 +24,7 @@endif edit_enabled?- open_state.with_row(mt: 3, classes: 'op-meeting-sidebar-state-edit') do+ open_state.with_row(mt: [0, 3, 3, 3, 3]) doform_for(@meeting, method: "put", url: change_state_meeting_path(@meeting),data: { 'turbo-stream': true }) do |f|flex_layout do |open_state_actions|@@ -72,7 +72,7 @@endif edit_enabled?- closed_state.with_row(mt: 3, classes: 'op-meeting-sidebar-state-edit') do+ closed_state.with_row(mt: [0, 3, 3, 3, 3]) doform_for(@meeting, method: "put", url: change_state_meeting_path(@meeting),data: { 'turbo-stream': true }) do |f|flex_layout do |closed_state_actions|diff --git a/modules/meeting/app/components/meetings/sidebar/state_component.sass b/modules/meeting/app/components/meetings/sidebar/state_component.sassindex 53744633baf..341b9bb00b7 100644--- a/modules/meeting/app/components/meetings/sidebar/state_component.sass+++ b/modules/meeting/app/components/meetings/sidebar/state_component.sass@@ -4,6 +4,4 @@.op-meeting-sidebar-stateflex-direction: row !importantjustify-content: space-between- align-items: center- &-edit- margin-top: 0 !important\ No newline at end of file+ align-items: center\ No newline at end of file