From 8a4c70d12ea008a81757260e0653b21d3933e868 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Fri, 30 Aug 2019 16:47:34 +0200 Subject: [PATCH] =?UTF-8?q?:fountain=5Fpen::art:=20remplace=20'valider'=20?= =?UTF-8?q?par=20'suivant'=20et=20r=C3=A9aligne=20le=20bouton=20avec=20les?= =?UTF-8?q?=20possibilit=C3=A9s=20dans=20le=20cas=20d'une=20question=20oui?= =?UTF-8?q?=20/=20non?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/PaySlipSections.js | 2 +- source/components/conversation/SendButton.js | 9 +-- source/components/conversation/TextArea.js | 57 ------------------- .../components/conversation/conversation.css | 11 ++++ source/locales/en.yaml | 3 +- 5 files changed, 18 insertions(+), 64 deletions(-) delete mode 100644 source/components/conversation/TextArea.js diff --git a/source/components/PaySlipSections.js b/source/components/PaySlipSections.js index c006ca9e4..de6f6df2f 100644 --- a/source/components/PaySlipSections.js +++ b/source/components/PaySlipSections.js @@ -50,7 +50,7 @@ export let SalaireNetSection = ({ getRule }) => { {/* Avantages en nature */} {/* Salaire net */} - + ) : null} diff --git a/source/components/conversation/SendButton.js b/source/components/conversation/SendButton.js index 3c2dc613c..f578d5c5d 100644 --- a/source/components/conversation/SendButton.js +++ b/source/components/conversation/SendButton.js @@ -26,18 +26,19 @@ export default compose(withTranslation())( return ( @@ -46,7 +47,7 @@ export default compose(withTranslation())( disabled={disabled} onClick={() => this.getAction()('accept')}> - valider ✓ + Suivant → diff --git a/source/components/conversation/TextArea.js b/source/components/conversation/TextArea.js deleted file mode 100644 index b67be113e..000000000 --- a/source/components/conversation/TextArea.js +++ /dev/null @@ -1,57 +0,0 @@ -import { compose } from 'ramda'; -import React, { Component } from 'react'; -import { Trans, withTranslation } from 'react-i18next'; -import { FormDecorator } from './FormDecorator'; - -export default compose( - FormDecorator('text-area'), - withTranslation() -)( - class Input extends Component { - render() { - let { - name, - input, - submit, - attributes, - meta: { touched, error }, - themeColours - } = this.props, - inputError = touched && error, - sendButtonDisabled = !input.value || inputError - - return ( - - -