1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-29 00:58:03 +02:00

added appendix

This commit is contained in:
diminator 2015-09-09 14:15:00 +02:00
parent ec2ae39e15
commit ecb51ca5e7
2 changed files with 22 additions and 4 deletions

View File

@ -76,7 +76,9 @@ let IkonotvContractNotifications = React.createClass({
<div className='notification-contract-download'> <div className='notification-contract-download'>
<a href={blob.url_safe}> <a href={blob.url_safe}>
<Glyphicon glyph='download-alt'/> <Glyphicon glyph='download-alt'/>
Download contract <span style={{padding: '0.3em'}}>
Download contract
</span>
</a> </a>
</div> </div>
); );
@ -90,7 +92,7 @@ let IkonotvContractNotifications = React.createClass({
handleDeny() { handleDeny() {
let contractAgreement = this.state.contractAgreementListNotifications[0].contract_agreement; 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() () => this.handleDenySuccess()
); );
}, },
@ -116,7 +118,12 @@ let IkonotvContractNotifications = React.createClass({
</div> </div>
</div> </div>
{this.displayContract()} {this.displayContract()}
<div className='notification-contract-footer'> <div className='notification-contract-footer'>
<h1>{getLangText('Appendix')}</h1>
<pre>
{contractAgreement.appendix.default}
</pre>
<h1>{getLangText('Are you a member of any copyright societies?')}</h1> <h1>{getLangText('Are you a member of any copyright societies?')}</h1>
<p> <p>
ARS, DACS, Bildkunst, Pictoright, SODRAC, Copyright Agency/Viscopy, SAVA, Bildrecht GmbH, ARS, DACS, Bildkunst, Pictoright, SODRAC, Copyright Agency/Viscopy, SAVA, Bildrecht GmbH,

View File

@ -40,12 +40,23 @@
.notification-contract-footer { .notification-contract-footer {
text-align: left; text-align: left;
padding: 1em; padding: 1em;
h1 { > h1 {
margin-top: 0.4em; margin-top: 0.4em;
font-size: 1.4em; font-size: 1.4em;
} }
p { > p {
font-size: 0.9em; font-size: 0.9em;
color: #444444; 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%;
}
} }