This commit is contained in:
Simon Lehericey 2017-03-20 12:03:27 +01:00
parent 7f789b1487
commit a076dc2987
7 changed files with 8 additions and 19 deletions

View file

@ -82,7 +82,7 @@
.pieces_justificatives.col-xs-6.col-md-3 .pieces_justificatives.col-xs-6.col-md-3
%h4.text-info %h4.text-info
Pièces justificatives Pièces jointes
.badge.progress-bar-info .badge.progress-bar-info
= @facade.procedure.types_de_piece_justificative.size = @facade.procedure.types_de_piece_justificative.size
- @facade.procedure.types_de_piece_justificative.each do |piece_justificative| - @facade.procedure.types_de_piece_justificative.each do |piece_justificative|

View file

@ -1,5 +1,5 @@
#profile_page #profile_page
%h2 Profile %h2 Profil
%hr %hr
%p %p
API TOKEN : API TOKEN :

View file

@ -31,7 +31,7 @@
- unless @procedure.locked? - unless @procedure.locked?
%a{:href => "#{url_for admin_procedure_pieces_justificatives_path(@procedure)}", id: 'onglet-pieces'} %a{:href => "#{url_for admin_procedure_pieces_justificatives_path(@procedure)}", id: 'onglet-pieces'}
%div.procedure_list_element{class: ('active' if active == 'Pieces')} %div.procedure_list_element{class: ('active' if active == 'Pieces')}
Pièces justificatives Pièces jointes
- unless @procedure.locked? - unless @procedure.locked?
%a{:href => "#{url_for admin_procedure_types_de_champ_private_path(@procedure)}", id: 'onglet-private-champs'} %a{:href => "#{url_for admin_procedure_types_de_champ_private_path(@procedure)}", id: 'onglet-private-champs'}

View file

@ -54,9 +54,9 @@
.type= "Un attribut à été changé: #{notification.liste.last}" .type= "Un attribut à été changé: #{notification.liste.last}"
- elsif ['piece_justificative'].include?(notification.type_notif) - elsif ['piece_justificative'].include?(notification.type_notif)
- if notification.liste.size > 1 - if notification.liste.size > 1
.type= "Plusieurs pièces justificatives ont été changés, dont: #{notification.liste.join(" ")}" .type= "Plusieurs pièces jointes ont été changés, dont: #{notification.liste.join(" ")}"
- else - else
.type= "Une pièce justificative à été changée: #{notification.liste.last}" .type= "Une pièce jointe à été changée: #{notification.liste.last}"
- else - else
.type= notification.liste.last .type= notification.liste.last
.split-hr .split-hr

View file

@ -23,4 +23,4 @@
%li %li
= link_to(admin_profile_path, id: :profile) do = link_to(admin_profile_path, id: :profile) do
%i.fa.fa-user %i.fa.fa-user
 Profile  Profil

View file

@ -22,7 +22,7 @@
-if !@procedure.lien_demarche.blank? || @procedure.cerfa_flag || @dossier.types_de_piece_justificative.size > 0 -if !@procedure.lien_demarche.blank? || @procedure.cerfa_flag || @dossier.types_de_piece_justificative.size > 0
%br %br
%h3 Documents administratifs %h3 Pièces jointes
//TODO a refactorer //TODO a refactorer
@ -30,17 +30,6 @@
.col-lg-8 .col-lg-8
= render partial: 'users/description/pieces_justificatives', locals: { dossier: @dossier } = render partial: 'users/description/pieces_justificatives', locals: { dossier: @dossier }
#state_description.row{style:'width: 50%; margin-left:20px'}
.panel.panel-info
.panel-body.center
.row
.col-md-1.col-lg-1.col-sm-1.col-xs-1
.fa.fa-info-circle.text-info{style:'font-size: 2em; margin-top: 20%'}
.col-xs-11
Les documents administratifs ne sont pas indispensables afin d'initier votre dossier.
Vous pourrez dans tous les cas les compléter plus tard si vous ne les possédez pas de suite.
-route = Rails.application.routes.recognize_path(request.referrer) # WTF ? -route = Rails.application.routes.recognize_path(request.referrer) # WTF ?
- unless route[:controller].match('admin') - unless route[:controller].match('admin')
%div{style: 'text-align:right'} %div{style: 'text-align:right'}

View file

@ -47,7 +47,7 @@
= f.email_field :email, class: 'form-control', placeholder: 'Email', value: params[:user_email] = f.email_field :email, class: 'form-control', placeholder: 'Email', value: params[:user_email]
%br %br
%h4 %h4
= f.label :password = f.label :password, 'Mot de passe'
.input-group .input-group
.input-group-addon .input-group-addon
%span.fa.fa-asterisk %span.fa.fa-asterisk