Add archived label on procedures list

This commit is contained in:
Mathieu Magnin 2017-07-03 16:29:29 +02:00
parent 29b201ad00
commit 1d53214870
4 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,11 @@
@import "colors";
@import "constants";
.label {
display: inline-block;
padding: 4px $default-spacer;
background: $grey;
color: #FFFFFF;
border-radius: 4px;
font-size: 12px;
}

View file

@ -32,6 +32,10 @@
}
}
.procedure-status {
margin-left: auto;
}
.procedure-stats {
li {
min-height: 36px;

View file

@ -34,3 +34,7 @@
= archived_count
.stats-legend
= "archivé".pluralize(archived_count, :fr)
- if p.archivee?
.procedure-status
%span.label Archivée

View file

@ -39,6 +39,10 @@
%li
= link_to "Onglet 3", "#"
%h2 Labels
%span.label .label
%h2 Layout deux colonnes
.two-columns