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

remove extra info from the heading for now

Klaus Zandersa10a17541694
diff --git a/modules/costs/app/components/my/time_tracking/list_component.rb b/modules/costs/app/components/my/time_tracking/list_component.rb
index 4e1fea3c00c..02036020861 100644
--- a/modules/costs/app/components/my/time_tracking/list_component.rb
+++ b/modules/costs/app/components/my/time_tracking/list_component.rb
@@ -66,7 +66,7 @@ module My
DurationConverter.output(total_hours, format: :hours_and_minutes)
end
- def date_title(date) # rubocop:disable Metrics/AbcSize
+ def date_title(date)
result = [
render(Primer::Beta::Text.new) { date.strftime("%A %d") }
]
@@ -77,13 +77,6 @@ module My
result << render(Primer::Beta::Text.new(color: :muted)) { t("label_yesterday") }
end
- result << render(Primer::Beta::Text.new(color: :muted)) do
- count = time_entries_by_day[date].count
- "#{count} #{TimeEntry.model_name.human(count: count)}"
- end
-
- result << render(Primer::Beta::Text.new) { total_hours_per_day(date) }
-
safe_join(result, " ")
end
end