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

Move toast warning to appropriate section

Aaron Contrerasadfa1bd7f686
diff --git a/app/views/admin/settings/working_days_and_hours_settings/show.html.erb b/app/views/admin/settings/working_days_and_hours_settings/show.html.erb
index aab35422d28..5d0b93127a6 100644
--- a/app/views/admin/settings/working_days_and_hours_settings/show.html.erb
+++ b/app/views/admin/settings/working_days_and_hours_settings/show.html.erb
@@ -67,18 +67,9 @@ See COPYRIGHT and LICENSE files for more details.
</fieldset>
</section>
- <div class="op-toast -warning">
- <div class="op-toast--content">
- <p>
- <%= t("working_days.warning").html_safe %>
- </p>
- </div>
- </div>
-
<section class="form--section">
<fieldset class="form--fieldset">
<legend class="form--fieldset-legend"><%= t('settings.working_days.section_work_week') %></legend>
-
<p>
<%= t("working_days.info").html_safe %>
</p>
@@ -90,6 +81,13 @@ See COPYRIGHT and LICENSE files for more details.
direction: :horizontal %>
</div>
+ <div class="op-toast -warning">
+ <div class="op-toast--content">
+ <p>
+ <%= t("working_days.warning").html_safe %>
+ </p>
+ </div>
+ </div>
</fieldset>
</section>