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

Swap title and date

Oliver Günther7686dda8b60f
diff --git a/modules/meeting/app/components/meetings/header_component.html.erb b/modules/meeting/app/components/meetings/header_component.html.erb
index 844cc697016..ee89a02dd97 100644
--- a/modules/meeting/app/components/meetings/header_component.html.erb
+++ b/modules/meeting/app/components/meetings/header_component.html.erb
@@ -22,8 +22,8 @@
if @meeting.template?
"#{@meeting.title} (#{I18n.t(:label_template)})"
elsif @series.present?
- concat render(Primer::Beta::Text.new) { format_date(@meeting.start_time) }
- concat render(Primer::Beta::Text.new(color: :subtle)) { " (#{@series.title})" }
+ concat render(Primer::Beta::Text.new) { @meeting.title }
+ concat render(Primer::Beta::Text.new(color: :subtle)) { " (#{format_date(@meeting.start_time)})" }
else
@meeting.title
end