Add archived label on procedures list
This commit is contained in:
parent
29b201ad00
commit
1d53214870
4 changed files with 23 additions and 0 deletions
11
app/assets/stylesheets/new_design/labels.scss
Normal file
11
app/assets/stylesheets/new_design/labels.scss
Normal 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;
|
||||
}
|
|
@ -32,6 +32,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.procedure-status {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.procedure-stats {
|
||||
li {
|
||||
min-height: 36px;
|
||||
|
|
|
@ -34,3 +34,7 @@
|
|||
= archived_count
|
||||
.stats-legend
|
||||
= "archivé".pluralize(archived_count, :fr)
|
||||
|
||||
- if p.archivee?
|
||||
.procedure-status
|
||||
%span.label Archivée
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
%li
|
||||
= link_to "Onglet 3", "#"
|
||||
|
||||
%h2 Labels
|
||||
|
||||
%span.label .label
|
||||
|
||||
%h2 Layout deux colonnes
|
||||
|
||||
.two-columns
|
||||
|
|
Loading…
Reference in a new issue