Merge remote-tracking branch 'parent/main' into upstream-20240327
This commit is contained in:
commit
ace193fda3
75 changed files with 435 additions and 462 deletions
|
@ -54,12 +54,16 @@ class AdminMailer < ApplicationMailer
|
|||
end
|
||||
|
||||
def new_software_updates
|
||||
@software_updates = SoftwareUpdate.all.to_a.sort_by(&:gem_version)
|
||||
|
||||
locale_for_account(@me) do
|
||||
mail subject: default_i18n_subject(instance: @instance)
|
||||
end
|
||||
end
|
||||
|
||||
def new_critical_software_updates
|
||||
@software_updates = SoftwareUpdate.where(urgent: true).to_a.sort_by(&:gem_version)
|
||||
|
||||
headers['Priority'] = 'urgent'
|
||||
headers['X-Priority'] = '1'
|
||||
headers['Importance'] = 'high'
|
||||
|
|
|
@ -5,10 +5,11 @@ class UserMailer < Devise::Mailer
|
|||
|
||||
helper :accounts
|
||||
helper :application
|
||||
helper :instance
|
||||
helper :statuses
|
||||
helper :mascot
|
||||
helper :formatting
|
||||
helper :instance
|
||||
helper :routing
|
||||
helper :statuses
|
||||
|
||||
before_action :set_instance
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue