|
|
@ -106,9 +106,9 @@ module TidingDecorator
|
|
|
|
if tiding_type == 'Apply'
|
|
|
|
if tiding_type == 'Apply'
|
|
|
|
I18n.t(locale_format(tiding_type)) % name
|
|
|
|
I18n.t(locale_format(tiding_type)) % name
|
|
|
|
elsif status == 2
|
|
|
|
elsif status == 2
|
|
|
|
I18n.t(locale_format(tiding_type, "#{status}_#{extra.nil?}"), reason: extra) % name
|
|
|
|
I18n.t(locale_format(tiding_type, "#{status}_#{extra.nil?}"), name: name, reason: extra)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
I18n.t(locale_format(tiding_type, status)) % name
|
|
|
|
I18n.t(locale_format(tiding_type, status), name: name, reason: extra)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|