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

add an anchor to the timezone select box

Ivan Kuchin9d5d244946d7
diff --git a/modules/meeting/app/controllers/meetings_controller.rb b/modules/meeting/app/controllers/meetings_controller.rb
index 169e12182ae..c52505a2d10 100644
--- a/modules/meeting/app/controllers/meetings_controller.rb
+++ b/modules/meeting/app/controllers/meetings_controller.rb
@@ -90,7 +90,7 @@ class MeetingsController < ApplicationController
text = I18n.t(:notice_successful_create)
if User.current.time_zone.nil?
link = I18n.t(:notice_timezone_missing, zone: Time.zone)
- text += " #{view_context.link_to(link, { controller: '/my', action: :settings }, class: 'link_to_profile')}"
+ text += " #{view_context.link_to(link, { controller: '/my', action: :settings, anchor: 'pref_time_zone' }, class: 'link_to_profile')}"
end
flash[:notice] = text.html_safe # rubocop:disable Rails/OutputSafety