From ecb51ca5e74bb6bd00155f4209c47bc8f70fa5ac Mon Sep 17 00:00:00 2001 From: diminator Date: Wed, 9 Sep 2015 14:15:00 +0200 Subject: [PATCH] added appendix --- .../ikonotv/ikonotv_contract_notifications.js | 11 +++++++++-- sass/ascribe_notification_page.scss | 15 +++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_contract_notifications.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_contract_notifications.js index 274eea5c..e7e2d851 100644 --- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_contract_notifications.js +++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_contract_notifications.js @@ -76,7 +76,9 @@ let IkonotvContractNotifications = React.createClass({
- Download contract + + Download contract +
); @@ -90,7 +92,7 @@ let IkonotvContractNotifications = React.createClass({ handleDeny() { let contractAgreement = this.state.contractAgreementListNotifications[0].contract_agreement; - requests.post(apiUrls.ownership_contract_agreements_deny, {contract_agreement_id: contractAgreement.id}).then( + requests.put(apiUrls.ownership_contract_agreements_deny, {contract_agreement_id: contractAgreement.id}).then( () => this.handleDenySuccess() ); }, @@ -116,7 +118,12 @@ let IkonotvContractNotifications = React.createClass({ {this.displayContract()} +
+

{getLangText('Appendix')}

+
+                                {contractAgreement.appendix.default}
+                            

{getLangText('Are you a member of any copyright societies?')}

ARS, DACS, Bildkunst, Pictoright, SODRAC, Copyright Agency/Viscopy, SAVA, Bildrecht GmbH, diff --git a/sass/ascribe_notification_page.scss b/sass/ascribe_notification_page.scss index f7cccbde..ad277aed 100644 --- a/sass/ascribe_notification_page.scss +++ b/sass/ascribe_notification_page.scss @@ -40,12 +40,23 @@ .notification-contract-footer { text-align: left; padding: 1em; - h1 { + > h1 { margin-top: 0.4em; font-size: 1.4em; } - p { + > p { font-size: 0.9em; color: #444444; } + > pre { + color: #444; + cursor: default; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + background-color: rgba(0, 0, 0, 0); + border: 0; + box-shadow: none; + margin-bottom: 1em; + padding-left: 0; + width: 100%; + } } \ No newline at end of file