Fix string interpolation for software updates admin mailer (#30035)

main-rebase-security-fix
Claire 2024-04-23 14:54:52 +02:00 committed by GitHub
parent 049b159beb
commit a2399046ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<%= raw t('admin_mailer.new_critical_software_updates.body') %> <%= raw t('admin_mailer.new_critical_software_updates.body') %>
<% @software_updates.each do |update| %> <% @software_updates.each do |update| %>
- Mastodon #{update.version}: #{update.release_notes} - Mastodon <%= update.version %>: <%= update.release_notes %>
<% end %> <% end %>
<%= raw t('application_mailer.view')%> <%= admin_software_updates_url %> <%= raw t('application_mailer.view')%> <%= admin_software_updates_url %>

View File

@ -1,7 +1,7 @@
<%= raw t('admin_mailer.new_software_updates.body') %> <%= raw t('admin_mailer.new_software_updates.body') %>
<% @software_updates.each do |update| %> <% @software_updates.each do |update| %>
- Mastodon #{update.version}: #{update.release_notes} - Mastodon <%= update.version %>: <%= update.release_notes %>
<% end %> <% end %>
<%= raw t('application_mailer.view')%> <%= admin_software_updates_url %> <%= raw t('application_mailer.view')%> <%= admin_software_updates_url %>