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
Fix number of "ends"
Henriette Dargee9c6cd89a53f
diff --git a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb b/modules/meeting/app/components/meetings/sidebar/details_component.html.erbindex 5947b2611c7..873312348df 100644--- a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb@@ -56,7 +56,7 @@render OpenProject::Common::DurationComponent.new(@meeting.duration, :hours, abbreviated: true)end- if @meeting.duration_exceeded_by_agenda_items? do+ if @meeting.duration_exceeded_by_agenda_items?duration.with_column(ml: 2) dorender(Primer::Beta::Text.new(color: :danger, font_size: :small)) do"+ #{I18n.t('datetime.distance_in_words.x_minutes_abbreviated',@@ -64,23 +64,22 @@endendend- endendend+ end- if @meeting.location.present?- details.with_row(mt: 2) do- if @meeting.location.include?("http")- render_meeting_attribute_row(:link) do- render(Primer::Beta::Link.new(href: @meeting.location, target: "_blank")) do- render_truncated_location- end+ if @meeting.location.present?+ details.with_row(mt: 2) do+ if @meeting.location.include?("http")+ render_meeting_attribute_row(:link) do+ render(Primer::Beta::Link.new(href: @meeting.location, target: "_blank")) do+ render_truncated_locationend- else- render_meeting_attribute_row(:location) do- render(Primer::Beta::Text.new) do- render_truncated_location- end+ end+ else+ render_meeting_attribute_row(:location) do+ render(Primer::Beta::Text.new) do+ render_truncated_locationendendend