Merge pull request #746 from sgmap/extract_empty_label

Style: extract class describing empty stuff
This commit is contained in:
LeSim 2017-09-20 17:27:45 +02:00 committed by GitHub
commit 121ff6417c
5 changed files with 12 additions and 9 deletions

View file

@ -17,13 +17,6 @@
margin: (3 * $default-spacer) auto;
}
h2 {
font-size: 20px;
font-weight: bold;
text-align: center;
margin: 60px 0;
}
.procedure-actions {
margin-left: auto;

View file

@ -25,3 +25,10 @@
.width-100 {
width: 100%;
}
.empty-text {
font-size: 20px;
font-weight: bold;
text-align: center;
margin: 60px 0;
}

View file

@ -32,4 +32,4 @@
%td= link_to(avis.dossier.user.email, avis_path(avis), class: 'cell-link')
%td= link_to(avis.dossier.procedure.libelle, avis_path(avis), class: 'cell-link')
- else
%h2 Aucun avis
%h2.empty-text Aucun avis

View file

@ -74,4 +74,4 @@
= render partial: 'status', locals: { dossier: dossier }
%td.follow-col= render partial: 'dossier_actions', locals: { procedure: @procedure, dossier: dossier, dossier_is_followed: @followed_dossiers_id.include?(dossier.id) }
- else
%h2 Aucun dossier
%h2.empty-text Aucun dossier

View file

@ -189,3 +189,6 @@
gestionnnaire@tps.com
%span.date Réponse donnée le 13/01/2012
%p Je donne un avis favorable
.container
%h2.empty-text Aucun dossier