Rename two classes so that they are more meaningful
This commit is contained in:
parent
4302997f08
commit
e3ce5115a2
5 changed files with 7 additions and 7 deletions
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.success {
|
||||
&.accepted {
|
||||
color: #FFFFFF;
|
||||
border-color: $green;
|
||||
background-color: $green;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
border: 1px solid $black;
|
||||
}
|
||||
|
||||
&.success {
|
||||
&.accepted {
|
||||
background-color: $green;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
- else
|
||||
- if dossier.motivation.present? || dossier.attestation.present?
|
||||
%span.button.dropdown{ class: dossier.closed? ? 'success' : nil }
|
||||
%span.button.dropdown{ class: dossier.closed? ? 'accepted' : nil }
|
||||
= dossier.statut
|
||||
.dropdown-content.fade-in-down.terminated
|
||||
- if dossier.motivation.present?
|
||||
|
@ -73,5 +73,5 @@
|
|||
%p.attestation L'acceptation du dossier a envoyé automatiquement une attestation au demandeur
|
||||
= link_to "Voir l'attestation", attestation_dossier_path(dossier.procedure, dossier), target: '_blank', class: 'button'
|
||||
- else
|
||||
%span.label{ class: dossier.closed? ? 'success' : nil }
|
||||
%span.label{ class: dossier.closed? ? 'accepted' : nil }
|
||||
= dossier.statut
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- elsif dossier.en_construction?
|
||||
%span.label.construction en construction
|
||||
- elsif dossier.closed?
|
||||
%span.label.success accepté
|
||||
%span.label.accepted accepté
|
||||
- elsif dossier.refused?
|
||||
%span.label.refused refusé
|
||||
- elsif dossier.without_continuation?
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
= link_to ".button.secondary", "#", class: "button secondary"
|
||||
|
||||
= link_to ".button.success", "#", class: "button success"
|
||||
= link_to ".button.accepted", "#", class: "button accepted"
|
||||
|
||||
= link_to ".button.large", "#", class: "button large"
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
|||
%span.label .label
|
||||
%span.label.instruction .label.instruction
|
||||
%span.label.construction .label.construction
|
||||
%span.label.success .label.success
|
||||
%span.label.accepted .label.accepted
|
||||
%span.label.refused .label.refused
|
||||
%span.label.without-continuation .label.without-continuation
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue