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

Recurring meetings: Remove last edited column

Oliver Güntherd5fed9ae777b
diff --git a/modules/meeting/app/components/recurring_meetings/row_component.rb b/modules/meeting/app/components/recurring_meetings/row_component.rb
index fc11d941519..8a958c87171 100644
--- a/modules/meeting/app/components/recurring_meetings/row_component.rb
+++ b/modules/meeting/app/components/recurring_meetings/row_component.rb
@@ -91,12 +91,6 @@ module RecurringMeetings
render(OpPrimer::RelativeTimeComponent.new(datetime: user_time_zone(time), prefix: I18n.t(:label_on)))
end
- def last_edited
- return unless instantiated?
-
- helpers.format_time(meeting.updated_at, include_date: true)
- end
-
def state
if model.cancelled?
"cancelled"
diff --git a/modules/meeting/app/components/recurring_meetings/table_component.rb b/modules/meeting/app/components/recurring_meetings/table_component.rb
index 520c2c4e6a6..5b92be0e4ae 100644
--- a/modules/meeting/app/components/recurring_meetings/table_component.rb
+++ b/modules/meeting/app/components/recurring_meetings/table_component.rb
@@ -32,7 +32,7 @@ module RecurringMeetings
class TableComponent < ::OpPrimer::BorderBoxTableComponent
options :current_project, :count, :direction, :max_count
- columns :start_time, :relative_time, :last_edited, :status, :create
+ columns :start_time, :relative_time, :status, :create
def has_actions?
true
@@ -70,7 +70,6 @@ module RecurringMeetings
@headers ||= [
[:start_time, { caption: I18n.t(:label_meeting_date_and_time) }],
[:relative_time, { caption: I18n.t("recurring_meeting.starts") }],
- [:last_edited, { caption: I18n.t(:label_meeting_last_updated) }],
[:status, { caption: Meeting.human_attribute_name(:status) }],
[:create, { caption: "" }]
].compact