views: display auto-archive date on procedure description
This commit is contained in:
parent
59346ee868
commit
38eb60f2ac
5 changed files with 71 additions and 0 deletions
|
@ -38,5 +38,9 @@ module ProcedureHelper
|
|||
}
|
||||
end
|
||||
|
||||
def show_auto_archive(procedure)
|
||||
I18n.l(procedure.auto_archive_on - 1.day, format: '%-d %B %Y')
|
||||
end
|
||||
|
||||
private
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue