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
shorten the meeting status part
bsatarnejad625b434e4214
diff --git a/modules/meeting/app/components/_index.sass b/modules/meeting/app/components/_index.sassindex 3cdcef54bec..2f17a54aef6 100644--- a/modules/meeting/app/components/_index.sass+++ b/modules/meeting/app/components/_index.sass@@ -1,2 +1,3 @@@import "./meeting_agenda_items/item_component/show_component.sass"@import "./meeting_agenda_items/form_component.sass"+@import "./meetings/sidebar/state_component.sass"diff --git a/modules/meeting/app/components/meetings/sidebar/state_component.html.erb b/modules/meeting/app/components/meetings/sidebar/state_component.html.erbindex 74034d27288..8da7b29921b 100644--- a/modules/meeting/app/components/meetings/sidebar/state_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/state_component.html.erb@@ -2,7 +2,7 @@component_wrapper docase @meeting.statewhen "open"- flex_layout do |open_state|+ flex_layout(classes: 'op-meeting-sidebar-state') do |open_state|open_state.with_row dorender(Primer::Beta::State.new(title: "state", scheme: :open)) doflex_layout do |open_state_label|@@ -17,14 +17,14 @@endend- open_state.with_row(mt: 3) do+ open_state.with_row(mt: 3, classes:'hidden-for-mobile') dorender(Primer::Beta::Text.new(color: :subtle)) dot("text_meeting_open_description")endendif edit_enabled?- open_state.with_row(mt: 3) do+ open_state.with_row(mt: 3, classes: 'op-meeting-sidebar-state-edit') doform_for(@meeting, method: "put", url: change_state_meeting_path(@meeting),data: { 'turbo-stream': true }) do |f|flex_layout do |open_state_actions|@@ -50,7 +50,7 @@endendwhen "closed"- flex_layout do |closed_state|+ flex_layout(classes: 'op-meeting-sidebar-state') do |closed_state|closed_state.with_row dorender(Primer::Beta::State.new(title: "state", scheme: :default)) doflex_layout do |closed_state_label|@@ -66,13 +66,13 @@endclosed_state.with_row(mt: 3) do- render(Primer::Beta::Text.new(color: :subtle)) do+ render(Primer::Beta::Text.new(color: :subtle, classes:'hidden-for-mobile')) dot("text_meeting_closed_description")endendif edit_enabled?- closed_state.with_row(mt: 3) do+ closed_state.with_row(mt: 3, classes: 'op-meeting-sidebar-state-edit') 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.sassnew file mode 100644index 00000000000..53744633baf--- /dev/null+++ b/modules/meeting/app/components/meetings/sidebar/state_component.sass@@ -0,0 +1,9 @@+@import 'helpers'++@media screen and (max-width: $breakpoint-sm)+ .op-meeting-sidebar-state+ flex-direction: row !important+ justify-content: space-between+ align-items: center+ &-edit+ margin-top: 0 !important\ No newline at end of file