From a7058ff22d260487932a8b87c5b8a993447423f8 Mon Sep 17 00:00:00 2001 From: ritvje Date: Thu, 21 Jul 2016 15:38:33 +0300 Subject: [PATCH 1/2] Make disable login button green when user is allowed to login --- .../components/RegistryUserListPage/RegistryUserTable.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/RegistryUserListPage/RegistryUserTable.jsx b/src/client/components/RegistryUserListPage/RegistryUserTable.jsx index 357444cd..9bc83847 100644 --- a/src/client/components/RegistryUserListPage/RegistryUserTable.jsx +++ b/src/client/components/RegistryUserListPage/RegistryUserTable.jsx @@ -19,7 +19,7 @@ const RegistryUserRow = props => { const blockStatusToggleButton = status === 'blocked' ? - : ; + : ; return ( From a025c1319dde0da109143800d861fc9c17860852 Mon Sep 17 00:00:00 2001 From: ritvje Date: Thu, 21 Jul 2016 20:16:28 +0300 Subject: [PATCH 2/2] Change column order in ParticipantListView --- .../ParticipantListPage/ParticipantListPage.jsx | 10 +++++----- .../components/ParticipantListPage/ParticipantRow.jsx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/client/components/ParticipantListPage/ParticipantListPage.jsx b/src/client/components/ParticipantListPage/ParticipantListPage.jsx index f7dc8fa6..3a3943ad 100644 --- a/src/client/components/ParticipantListPage/ParticipantListPage.jsx +++ b/src/client/components/ParticipantListPage/ParticipantListPage.jsx @@ -250,17 +250,17 @@ export function getParticipantListPage(participantStore, participantActions, sea const columnPropertyToLabelMapping = { presence: 'Tila', - campOfficeNotes: campOfficeNotes, - editableInfo: editableInfo, firstName: 'Etunimi', lastName: 'Sukunimi', dateOfBirth: 'Syntymäpäivä', - nonScout: 'Onko partiolainen?', - memberNumber: 'Jäsennumero', + staffPosition: 'Pesti', billedDate: 'Laskutettu', paidDate: 'Maksettu', + memberNumber: 'Jäsennumero', + campOfficeNotes: campOfficeNotes, + editableInfo: editableInfo, + nonScout: 'Onko partiolainen?', homeCity: 'Kotikaupunki', - staffPosition: 'Pesti', interestedInHomeHospitality: 'Home hospitality', email: 'Sähköposti', phoneNumber: 'Puhelinnumero', diff --git a/src/client/components/ParticipantListPage/ParticipantRow.jsx b/src/client/components/ParticipantListPage/ParticipantRow.jsx index 4907e8bc..54d029fc 100644 --- a/src/client/components/ParticipantListPage/ParticipantRow.jsx +++ b/src/client/components/ParticipantListPage/ParticipantRow.jsx @@ -103,17 +103,17 @@ export class ParticipantRow extends React.Component { - { notes } - { info } { firstName } { lastName } - - + + + { notes } + { info } + -