remove useless if
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
This commit is contained in:
parent
f094c6c218
commit
1a6337cf37
1 changed files with 10 additions and 13 deletions
|
@ -73,7 +73,6 @@
|
|||
- weight = nb_dossiers_termines * @average_dossier_weight
|
||||
= number_to_human_size(weight)
|
||||
%td
|
||||
- if nb_dossiers_termines > 0
|
||||
- if matching_archive.present?
|
||||
- if matching_archive.status == 'generated' && matching_archive.file.attached?
|
||||
= link_to url_for(matching_archive.file), class: 'button primary' do
|
||||
|
@ -86,6 +85,4 @@
|
|||
= link_to instructeur_archives_path(@procedure, type:'monthly', month: month.strftime('%Y-%m')), method: :post, class: "button" do
|
||||
%span.icon.new-folder
|
||||
Démander la création
|
||||
- else
|
||||
Rien à télécharger !
|
||||
|
||||
|
|
Loading…
Reference in a new issue