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

some more details

Klaus Zandersdd514eeec2e3
diff --git a/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts b/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts
index 1363089c097..061c9723990 100644
--- a/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts
@@ -78,7 +78,7 @@ export default class MyTimeTrackingController extends Controller {
if (!arg.event.allDay) {
const time = `${moment(arg.event.start).format('LT')} - ${moment(arg.event.end).format('LT')}`;
- timeDetails = `<div class="color-fg-muted mt-3" title="${time}">${time}</div>`;
+ timeDetails = `<div class="color-fg-muted mt-2" title="${time}">${time}</div>`;
}
return {
diff --git a/modules/costs/app/components/my/time_tracking/calendar_component.html.erb b/modules/costs/app/components/my/time_tracking/calendar_component.html.erb
index 7b7564bc4ff..55b8708b9f6 100644
--- a/modules/costs/app/components/my/time_tracking/calendar_component.html.erb
+++ b/modules/costs/app/components/my/time_tracking/calendar_component.html.erb
@@ -20,16 +20,17 @@
},
tag: :a,
href: dialog_time_entries_path(onlyMe: true)
- ) { "Log Time" }
+ ) { t(:button_log_time) }
end %>
<% end %>
+
<% calendar_page.with_row(classes: "op-fc-wrapper", data: { "my--time-tracking-target" => "calendar" }) %>
<% if mode != :day %>
-<% calendar_page.with_row do %>
- <%= flex_layout(align_items: :flex_end) do |flex| %>
- <% flex.with_row(mt: 2, font_weight: :bold) { total_hours } %>
- <% end %>
+ <% calendar_page.with_row do %>
+ <%= flex_layout(align_items: :flex_end) do |flex| %>
+ <% flex.with_row(mt: 2, font_weight: :bold) { total_hours } %>
+ <% end %>
<% end %>
<% end %>
<% end %>