1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01: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'>
<a href={blob.url_safe}>
<Glyphicon glyph='download-alt'/>
Download contract
<span style={{padding: '0.3em'}}>
Download contract
</span>
</a>
</div>
);
@ -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({
</div>
</div>
{this.displayContract()}
<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>
<p>
ARS, DACS, Bildkunst, Pictoright, SODRAC, Copyright Agency/Viscopy, SAVA, Bildrecht GmbH,

View File

@ -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%;
}
}