From 8bc9eb4d49bdd6f21f744133151f1722e46430b9 Mon Sep 17 00:00:00 2001 From: Matthew Twomey Date: Fri, 13 Jan 2017 18:31:55 -0600 Subject: [PATCH] Add status 'waiting' for pilot missions --- src/components/StatusLabel/StatusLabel.jsx | 1 + src/components/StatusLabel/StatusLabel.scss | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/components/StatusLabel/StatusLabel.jsx b/src/components/StatusLabel/StatusLabel.jsx index 003a3b9..44f1a4f 100644 --- a/src/components/StatusLabel/StatusLabel.jsx +++ b/src/components/StatusLabel/StatusLabel.jsx @@ -11,6 +11,7 @@ const statusLabels = { pending: 'Pending', scheduled: 'Scheduled', rejected: 'Rejected', + waiting: 'Waiting', }; export const StatusLabel = ({value}) => ( diff --git a/src/components/StatusLabel/StatusLabel.scss b/src/components/StatusLabel/StatusLabel.scss index 41bec33..9c659e1 100644 --- a/src/components/StatusLabel/StatusLabel.scss +++ b/src/components/StatusLabel/StatusLabel.scss @@ -41,6 +41,13 @@ @extend .status-label; } +.status-label_waiting { + background-color: lightblue; + background-image: url('icon-status-inprogress.png'); + + @extend .status-label; +} + .status-label_rejected{ background-color: red; background-image: url('icon-status-cancelled.png');