mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
sharare button moved to the right
This commit is contained in:
parent
11b2ab7b12
commit
924b462cc1
@ -46,6 +46,12 @@ let AclButtonList = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div className={this.props.className}>
|
<div className={this.props.className}>
|
||||||
<span style={this.props.buttonsStyle}>
|
<span style={this.props.buttonsStyle}>
|
||||||
|
<AclButton
|
||||||
|
availableAcls={this.props.availableAcls}
|
||||||
|
action="acl_share"
|
||||||
|
pieceOrEditions={this.props.editions}
|
||||||
|
currentUser={this.state.currentUser}
|
||||||
|
handleSuccess={this.props.handleSuccess} />
|
||||||
<AclButton
|
<AclButton
|
||||||
availableAcls={this.props.availableAcls}
|
availableAcls={this.props.availableAcls}
|
||||||
action="acl_transfer"
|
action="acl_transfer"
|
||||||
@ -70,12 +76,6 @@ let AclButtonList = React.createClass({
|
|||||||
pieceOrEditions={this.props.editions}
|
pieceOrEditions={this.props.editions}
|
||||||
currentUser={this.state.currentUser}
|
currentUser={this.state.currentUser}
|
||||||
handleSuccess={this.props.handleSuccess} />
|
handleSuccess={this.props.handleSuccess} />
|
||||||
<AclButton
|
|
||||||
availableAcls={this.props.availableAcls}
|
|
||||||
action="acl_share"
|
|
||||||
pieceOrEditions={this.props.editions}
|
|
||||||
currentUser={this.state.currentUser}
|
|
||||||
handleSuccess={this.props.handleSuccess} />
|
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
|
|
||||||
import DropdownButton from 'react-bootstrap/lib/Button';
|
import DropdownButton from 'react-bootstrap/lib/Button';
|
||||||
|
|
||||||
|
@ -291,9 +291,6 @@ let EditionSummary = React.createClass({
|
|||||||
editions={[this.props.edition]}
|
editions={[this.props.edition]}
|
||||||
handleSuccess={this.handleSuccess}>
|
handleSuccess={this.handleSuccess}>
|
||||||
{withdrawButton}
|
{withdrawButton}
|
||||||
<DeleteButton
|
|
||||||
handleSuccess={this.props.handleDeleteSuccess}
|
|
||||||
editions={[this.props.edition]}/>
|
|
||||||
{unconsignRequestButton}
|
{unconsignRequestButton}
|
||||||
<AclInformationButton/>
|
<AclInformationButton/>
|
||||||
</AclButtonList>
|
</AclButtonList>
|
||||||
|
Loading…
Reference in New Issue
Block a user