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

Changed notify_unhealthy mailer view

Andreas Pfohldc8fb6135f06
diff --git a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
index 672ac0ec6cf..265681960e9 100644
--- a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
+++ b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
@@ -37,14 +37,10 @@ See COPYRIGHT and LICENSE files for more details.
<tr>
<%= placeholder_cell('12px', vertical: true) %>
<td>
- <%
- summary = I18n.t("mail.storages.health.unhealthy.summary", storage_name: @storage.name)
- %>
-
<%= render partial: 'mailer/mailer_header',
locals: {
user: @admin,
- summary:,
+ summary: I18n.t("mail.storages.health.unhealthy.summary", storage_name: @storage.name),
button_href: @url,
button_text: I18n.t(:'mail.storages.health.see_storage_settings'),
} %>