add trad if export failed
This commit is contained in:
parent
a9ab1daf3a
commit
53f9f3cbdb
5 changed files with 21 additions and 3 deletions
|
@ -35,5 +35,7 @@
|
|||
%p
|
||||
- if @has_last_export.pending?
|
||||
= t('instructeurs.procedures.last_export_pending')
|
||||
- else
|
||||
- if @has_last_export.generated?
|
||||
= t('instructeurs.procedures.last_export_available_html', file_format: @has_last_export.format, file_url: @has_last_export.file.url)
|
||||
- if @has_last_export.failed?
|
||||
= t('instructeurs.procedures.last_export_failed', file_format: @has_last_export.format)
|
||||
|
|
|
@ -15,5 +15,7 @@
|
|||
%p
|
||||
- if @has_last_export.pending?
|
||||
= t('instructeurs.procedures.last_export_pending')
|
||||
- else
|
||||
- if @has_last_export.generated?
|
||||
= t('instructeurs.procedures.last_export_available_html', file_format: @has_last_export.format, file_url: @has_last_export.file.url)
|
||||
- if @has_last_export.failed?
|
||||
= t('instructeurs.procedures.last_export_failed', file_format: @has_last_export.format)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue