From 328d60b279d51328656f22f1087f862769e6e426 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Thu, 3 Dec 2015 15:22:37 +0100 Subject: [PATCH] Rename ContractAgreementForm to avoid confusion with ContractAgreementProperty --- ...ontract_agreement.js => form_send_contract_agreement.js} | 6 +++--- js/components/whitelabel/wallet/wallet_routes.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) rename js/components/ascribe_forms/{form_contract_agreement.js => form_send_contract_agreement.js} (97%) diff --git a/js/components/ascribe_forms/form_contract_agreement.js b/js/components/ascribe_forms/form_send_contract_agreement.js similarity index 97% rename from js/components/ascribe_forms/form_contract_agreement.js rename to js/components/ascribe_forms/form_send_contract_agreement.js index fa73fe42..8d0170fd 100644 --- a/js/components/ascribe_forms/form_contract_agreement.js +++ b/js/components/ascribe_forms/form_send_contract_agreement.js @@ -21,7 +21,7 @@ import { getLangText } from '../../utils/lang_utils'; import { mergeOptions } from '../../utils/general_utils'; -let ContractAgreementForm = React.createClass({ +let SendContractAgreementForm = React.createClass({ propTypes: { handleSuccess: React.PropTypes.func }, @@ -55,7 +55,7 @@ let ContractAgreementForm = React.createClass({ }, handleSubmitSuccess() { - let notification = 'Contract agreement send'; + let notification = 'Contract agreement sent'; notification = new GlobalNotificationModel(notification, 'success', 10000); GlobalNotificationActions.appendGlobalNotification(notification); @@ -148,4 +148,4 @@ let ContractAgreementForm = React.createClass({ } }); -export default ContractAgreementForm; \ No newline at end of file +export default SendContractAgreementForm; diff --git a/js/components/whitelabel/wallet/wallet_routes.js b/js/components/whitelabel/wallet/wallet_routes.js index 92b53dc6..f65e20fb 100644 --- a/js/components/whitelabel/wallet/wallet_routes.js +++ b/js/components/whitelabel/wallet/wallet_routes.js @@ -25,7 +25,7 @@ import CylandPieceList from './components/cyland/cyland_piece_list'; import IkonotvLanding from './components/ikonotv/ikonotv_landing'; import IkonotvPieceList from './components/ikonotv/ikonotv_piece_list'; -import ContractAgreementForm from '../../../components/ascribe_forms/form_contract_agreement'; +import SendContractAgreementForm from '../../../components/ascribe_forms/form_send_contract_agreement'; import IkonotvRegisterPiece from './components/ikonotv/ikonotv_register_piece'; import IkonotvPieceContainer from './components/ikonotv/ikonotv_detail/ikonotv_piece_container'; import IkonotvContractNotifications from './components/ikonotv/ikonotv_contract_notifications'; @@ -135,7 +135,7 @@ let ROUTES = { component={AuthProxyHandler({to: '/login', when: 'loggedOut'})(ContractSettings)}/>