mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
fix separation
This commit is contained in:
parent
7bccb26d82
commit
63b375ade6
@ -75,8 +75,8 @@ let ContractSettings = React.createClass({
|
|||||||
<CreateContractForm
|
<CreateContractForm
|
||||||
isPublic={true}
|
isPublic={true}
|
||||||
fileClassToUpload={{
|
fileClassToUpload={{
|
||||||
singular: 'new public contract',
|
singular: 'new contract',
|
||||||
plural: 'new public contracts'
|
plural: 'new contracts'
|
||||||
}}/>
|
}}/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -92,10 +92,7 @@ let ContractSettings = React.createClass({
|
|||||||
<AclProxy
|
<AclProxy
|
||||||
aclName="acl_edit_public_contract"
|
aclName="acl_edit_public_contract"
|
||||||
aclObject={this.props.currentUser.acl}>
|
aclObject={this.props.currentUser.acl}>
|
||||||
<CollapsibleParagraph
|
<div>
|
||||||
title={getLangText('Public Contracts')}
|
|
||||||
show={true}
|
|
||||||
defaultExpanded={true}>
|
|
||||||
{createPublicContractForm}
|
{createPublicContractForm}
|
||||||
{publicContracts.map((contract, i) => {
|
{publicContracts.map((contract, i) => {
|
||||||
return (
|
return (
|
||||||
@ -123,21 +120,18 @@ let ContractSettings = React.createClass({
|
|||||||
rightColumnWidth="60%"/>
|
rightColumnWidth="60%"/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</CollapsibleParagraph>
|
</div>
|
||||||
</AclProxy>
|
</AclProxy>
|
||||||
<AclProxy
|
<AclProxy
|
||||||
aclName="acl_edit_private_contract"
|
aclName="acl_edit_private_contract"
|
||||||
aclObject={this.props.currentUser.acl}>
|
aclObject={this.props.currentUser.acl}>
|
||||||
<CollapsibleParagraph
|
<div>
|
||||||
title={getLangText('Private Contracts')}
|
|
||||||
show={true}
|
|
||||||
defaultExpanded={true}>
|
|
||||||
<CreateContractForm
|
<CreateContractForm
|
||||||
isPublic={false}
|
isPublic={false}
|
||||||
fileClassToUpload={{
|
fileClassToUpload={{
|
||||||
singular: getLangText('new private contract'),
|
singular: getLangText('new contract'),
|
||||||
plural: getLangText('new private contracts')
|
plural: getLangText('new contracts')
|
||||||
}}/>
|
}}/>
|
||||||
{privateContracts.map((contract, i) => {
|
{privateContracts.map((contract, i) => {
|
||||||
return (
|
return (
|
||||||
<ActionPanel
|
<ActionPanel
|
||||||
@ -164,7 +158,7 @@ let ContractSettings = React.createClass({
|
|||||||
rightColumnWidth="60%"/>
|
rightColumnWidth="60%"/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</CollapsibleParagraph>
|
</div>
|
||||||
</AclProxy>
|
</AclProxy>
|
||||||
</CollapsibleParagraph>
|
</CollapsibleParagraph>
|
||||||
</AclProxy>
|
</AclProxy>
|
||||||
|
Loading…
Reference in New Issue
Block a user