Merge branch 'develop' into select_multiple
This commit is contained in:
commit
8e91d4ba97
7 changed files with 8 additions and 19 deletions
|
@ -82,7 +82,7 @@
|
|||
|
||||
.pieces_justificatives.col-xs-6.col-md-3
|
||||
%h4.text-info
|
||||
Pièces justificatives
|
||||
Pièces jointes
|
||||
.badge.progress-bar-info
|
||||
= @facade.procedure.types_de_piece_justificative.size
|
||||
- @facade.procedure.types_de_piece_justificative.each do |piece_justificative|
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#profile_page
|
||||
%h2 Profile
|
||||
%h2 Profil
|
||||
%hr
|
||||
%p
|
||||
API TOKEN :
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
- unless @procedure.locked?
|
||||
%a{:href => "#{url_for admin_procedure_pieces_justificatives_path(@procedure)}", id: 'onglet-pieces'}
|
||||
%div.procedure_list_element{class: ('active' if active == 'Pieces')}
|
||||
Pièces justificatives
|
||||
Pièces jointes
|
||||
|
||||
- unless @procedure.locked?
|
||||
%a{:href => "#{url_for admin_procedure_types_de_champ_private_path(@procedure)}", id: 'onglet-private-champs'}
|
||||
|
|
|
@ -54,9 +54,9 @@
|
|||
.type= "Un attribut à été changé: #{notification.liste.last}"
|
||||
- elsif ['piece_justificative'].include?(notification.type_notif)
|
||||
- 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
|
||||
.type= "Une pièce justificative à été changée: #{notification.liste.last}"
|
||||
.type= "Une pièce jointe à été changée: #{notification.liste.last}"
|
||||
- else
|
||||
.type= notification.liste.last
|
||||
.split-hr
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
%li
|
||||
= link_to(admin_profile_path, id: :profile) do
|
||||
%i.fa.fa-user
|
||||
Profile
|
||||
Profil
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
-if !@procedure.lien_demarche.blank? || @procedure.cerfa_flag || @dossier.types_de_piece_justificative.size > 0
|
||||
%br
|
||||
%h3 Documents administratifs
|
||||
%h3 Pièces jointes
|
||||
|
||||
|
||||
//TODO a refactorer
|
||||
|
@ -30,17 +30,6 @@
|
|||
.col-lg-8
|
||||
= 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-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 ?
|
||||
- unless route[:controller].match('admin')
|
||||
%div{style: 'text-align:right'}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
= f.email_field :email, class: 'form-control', placeholder: 'Email', value: params[:user_email]
|
||||
%br
|
||||
%h4
|
||||
= f.label :password
|
||||
= f.label :password, 'Mot de passe'
|
||||
.input-group
|
||||
.input-group-addon
|
||||
%span.fa.fa-asterisk
|
||||
|
|
Loading…
Reference in a new issue