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

enable the log time button

Klaus Zanders503bedaaaf32
diff --git a/modules/costs/app/views/my/time_tracking/_calendar.html.erb b/modules/costs/app/views/my/time_tracking/_calendar.html.erb
index f5496ea4e49..e6fe6c3d031 100644
--- a/modules/costs/app/views/my/time_tracking/_calendar.html.erb
+++ b/modules/costs/app/views/my/time_tracking/_calendar.html.erb
@@ -18,7 +18,7 @@
component.with_action_button(tag: :a, href: my_time_tracking_week_path(date: Time.zone.today)) { "Today" }
- component.with_action_button(scheme: :primary) { "Log Time" }
+ component.with_action_button(scheme: :primary, data: { "turbo-stream" => true }, tag: :a, href: dialog_time_entries_path(onlyMe: true)) { "Log Time" }
end %>
<div data-my--time-tracking-target="calendar"></div>