Skip to content

Commit

Permalink
Ajoute le block des Compétences numériques sur le pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Jul 10, 2023
1 parent 5ec6125 commit 4fbcdb1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions app/views/admin/evaluations/_restitution_globale.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,6 @@ titre_avec_aide_illettrisme = 'titre--avec-aide-illettrisme' if resource.illettr
div class: 'evaluation__restitution-globale' do
render 'deroulement_passation' unless resource.campagne.parcours_type.blank? || pdf

if prise_en_main? && !pdf
div id: 'competence-numerique', class: 'page' do
render 'entete_page', restitution_globale: restitution_globale

if pdf
h2 t('.prise_en_main_titre'), class: 'text-center mt-5 mb-4'
else
h2 t('.prise_en_main_titre')
end

div class: 'panel' do
div class: 'marges-page' do
render partial: 'prise_en_main'
end

render 'pied_page'
end
end
end

if bienvenue
if pdf
div id: 'profil' do
Expand Down Expand Up @@ -80,6 +60,26 @@ div class: 'evaluation__restitution-globale' do
end
end

if prise_en_main?
div id: 'competence-numerique', class: 'page' do
render 'entete_page', restitution_globale: restitution_globale

if pdf
h2 t('.prise_en_main_titre'), class: 'text-center mt-5 mb-4'
else
h2 t('.prise_en_main_titre')
end

div class: 'panel' do
div class: 'marges-page' do
render partial: 'prise_en_main'
end

render 'pied_page'
end
end
end

if campagne_avec_competences_transversales?
render 'competences_transversales', pdf: pdf, restitution_globale: restitution_globale
end
Expand Down

0 comments on commit 4fbcdb1

Please sign in to comment.