Add invite request to pending account notification e-mail (#10528)
Fix sorting of the pending accounts page
This commit is contained in:
parent
36b39fbac5
commit
46cb36fd2c
4 changed files with 21 additions and 4 deletions
|
@ -117,4 +117,9 @@ module ApplicationHelper
|
|||
def storage_host?
|
||||
ENV['S3_ALIAS_HOST'].present? || ENV['S3_CLOUDFRONT_HOST'].present?
|
||||
end
|
||||
|
||||
def quote_wrap(text, line_width: 80, break_sequence: "\n")
|
||||
text = word_wrap(text, line_width: line_width - 2, break_sequence: break_sequence)
|
||||
text.split("\n").map { |line| '> ' + line }.join("\n")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue