Time to launch on staging

This commit is contained in:
JC 2016-12-07 14:44:05 +01:00
parent dc8e936ee5
commit 6f019f9a0f
5 changed files with 18 additions and 9 deletions

View file

@ -108,7 +108,7 @@
}
#dossier, #pieces-jointes, #infos, #carto, #private-fields {
.body {
padding: 0 20px 0 20px;
padding: 20px 20px 0 20px;
color: #000000;
.libelle-procedure {
font-style: italic;
@ -129,7 +129,7 @@
color: #EEEEEE;
}
.action {
margin: 20px 0 0 15px;
margin: 50px 0 0 15px;
}
.action, .btn-action {
background-color: #E45B51;
@ -177,5 +177,10 @@
margin-bottom: 40px;
}
}
#pieces_justificatives {
.piece-row {
margin: 0 0 0 0;
}
}
}
}

View file

@ -14,10 +14,14 @@
font-size: 16px;
line-height: 18px;
.infos {
margin-bottom: 20px;
font-size: 25px;
text-align: center;
margin-right: 10px;
margin: 20px 10px 30px 0;
.projet-name {
font-size: 25px;
line-height: normal;
padding: 5px;
}
}
.en-cours {
margin-top: 20px;

View file

@ -1,6 +1,6 @@
#search-block{
margin: 15px 10px 0 0;
height: 50px;
height: 30px;
}
#search_button {

View file

@ -95,17 +95,17 @@
%div.body
= render partial: '/dossiers/infos_carto'
- if @current_gestionnaire && gestionnaire_signed_in?
- if @current_gestionnaire && gestionnaire_signed_in? && @champs.count > 0
.default_data_block
%div.row.show-block#private-fields
%div.header
%div.col-lg-10.col-md-10.title
%div.carret-right
%div.carret-down
= "champs privés".upcase
= "champs".upcase
%div.col-lg-2.col-md-2.count
- private_fields_count = @champs.count
= (private_fields_count == 1) ? "1 champ privé" : "#{private_fields_count} champs privés"
= (private_fields_count == 1) ? "1 champ" : "#{private_fields_count} champs"
%div.body
= render partial: '/dossiers/infos_private_fields'

View file

@ -1,6 +1,6 @@
%div#first-block
%div.infos
%div #{@facade.dossier.nom_projet}
%div.projet-name #{@facade.dossier.nom_projet.capitalize}
%div= t('dynamics.dossiers.numéro') + @facade.dossier.id.to_s
%div#action-block