Display hist for pieces justificatives only if multiple files uploaded
This commit is contained in:
parent
3ad0d1e9cd
commit
fdf6efafb2
1 changed files with 3 additions and 2 deletions
|
@ -95,8 +95,9 @@
|
||||||
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
|
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
|
||||||
%span{style:'margin-left:12px'}
|
%span{style:'margin-left:12px'}
|
||||||
\-
|
\-
|
||||||
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
|
- if @facade.dossier.pieces_justificatives.where(type_de_piece_justificative_id: type_de_piece_justificative.id).count > 1
|
||||||
%span.fa.fa-clock-o
|
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
|
||||||
|
%span.fa.fa-clock-o
|
||||||
- else
|
- else
|
||||||
= 'Pièce non fournie'
|
= 'Pièce non fournie'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue