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

Show only 'attended' label in PDF export

Mir Bhatiadb727c41057b
diff --git a/modules/meeting/app/workers/meetings/pdf/default/participants.rb b/modules/meeting/app/workers/meetings/pdf/default/participants.rb
index db2af422e3f..fecd1aed2d5 100644
--- a/modules/meeting/app/workers/meetings/pdf/default/participants.rb
+++ b/modules/meeting/app/workers/meetings/pdf/default/participants.rb
@@ -88,8 +88,6 @@ module Meetings::PDF::Default::Participants
content = if participant.attended?
I18n.t("description_attended")
- elsif participant.invited?
- I18n.t("description_invite")
else
""
end
diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.yml
index ffccccd2211..ee3ed5abca2 100644
--- a/modules/meeting/config/locales/en.yml
+++ b/modules/meeting/config/locales/en.yml
@@ -108,7 +108,6 @@ en:
updated_html: "changed from <i>%{old_value}</i> to <i>%{value}</i>"
description_attended: "attended"
- description_invite: "invited"
events:
meeting: Meeting edited
diff --git a/modules/meeting/spec/workers/meetings/pdf/default/exporter_spec.rb b/modules/meeting/spec/workers/meetings/pdf/default/exporter_spec.rb
index 974b892ebed..3abc4a23aa2 100644
--- a/modules/meeting/spec/workers/meetings/pdf/default/exporter_spec.rb
+++ b/modules/meeting/spec/workers/meetings/pdf/default/exporter_spec.rb
@@ -176,7 +176,7 @@ RSpec.describe Meetings::PDF::Default::Exporter do
*meeting_head,
"Participants (2)",
"Export User", " ", "Attended",
- "Other Account", " ", "Invited",
+ "Other Account",
"Untitled section", " ", "15 mins",
"Agenda Item TOP 1", " ", "15 mins", " ", "Export User",