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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#54140] Add email settings button in storages mailer
Kabiru Mwenja89093fbc172c
diff --git a/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb b/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erbindex 4640f76a670..9c6a47c07e3 100644--- a/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb+++ b/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.reason: "#{Storages::Storage.extract_part_from_piped_string(@reason, 0)} - #{Storages::Storage.extract_part_from_piped_string(@reason, 1)}"}) %>- <%#= render(partial: 'mailer/notification_settings_table',+ <%= render(partial: 'mailer/notification_settings_table',locals: {button_url: @url,button_text: I18n.t(:'mail.storages.health.email_notification_settings')diff --git a/modules/storages/app/views/storages/storages_mailer/notify_healthy.text.erb b/modules/storages/app/views/storages/storages_mailer/notify_healthy.text.erbindex 4c563fb5d7d..187d5251972 100644--- a/modules/storages/app/views/storages/storages_mailer/notify_healthy.text.erb+++ b/modules/storages/app/views/storages/storages_mailer/notify_healthy.text.erb@@ -42,4 +42,4 @@ See COPYRIGHT and LICENSE files for more details.<%= I18n.t('mail.storages.health.plaintext.healthy.recommendation') %>-<%#= I18n.t('mail.storages.health.plaintext.unhealthy.unsubscribe') %>: <%= @url %>+<%= I18n.t('mail.storages.health.plaintext.unhealthy.unsubscribe') %>: <%= @url %>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.erbindex e604adef061..d170585cd71 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@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.reason: "#{@storage.health_reason_identifier} - #{@storage.health_reason_description}"}) %>- <%#= render(partial: 'mailer/notification_settings_table',+ <%= render(partial: 'mailer/notification_settings_table',locals: {button_url: @url,button_text: I18n.t(:'mail.storages.health.email_notification_settings')diff --git a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.text.erb b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.text.erbindex f766fce9b5a..c168e8343fc 100644--- a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.text.erb+++ b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.text.erb@@ -40,4 +40,4 @@ See COPYRIGHT and LICENSE files for more details.<%= I18n.t('mail.storages.health.plaintext.unhealthy.recommendation') %>: <%= @url %>-<%#= I18n.t('mail.storages.health.plaintext.unhealthy.unsubscribe') %>: <%= @url %>+<%= I18n.t('mail.storages.health.plaintext.unhealthy.unsubscribe') %>: <%= @url %>