views: display auto-archive date on procedure description

This commit is contained in:
Judith 2020-05-27 11:25:43 +02:00 committed by GitHub Action
parent 59346ee868
commit 38eb60f2ac
5 changed files with 71 additions and 0 deletions

View file

@ -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