mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +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 (
|
||||
<div className={this.props.className}>
|
||||
<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
|
||||
availableAcls={this.props.availableAcls}
|
||||
action="acl_transfer"
|
||||
@ -70,12 +76,6 @@ let AclButtonList = React.createClass({
|
||||
pieceOrEditions={this.props.editions}
|
||||
currentUser={this.state.currentUser}
|
||||
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}
|
||||
</span>
|
||||
</div>
|
||||
|
@ -4,7 +4,7 @@
|
||||
'use strict';
|
||||
|
||||
import React from 'react';
|
||||
import classnames from 'classnames';
|
||||
import classnames from 'classnames';
|
||||
|
||||
import DropdownButton from 'react-bootstrap/lib/Button';
|
||||
|
||||
|
@ -291,9 +291,6 @@ let EditionSummary = React.createClass({
|
||||
editions={[this.props.edition]}
|
||||
handleSuccess={this.handleSuccess}>
|
||||
{withdrawButton}
|
||||
<DeleteButton
|
||||
handleSuccess={this.props.handleDeleteSuccess}
|
||||
editions={[this.props.edition]}/>
|
||||
{unconsignRequestButton}
|
||||
<AclInformationButton/>
|
||||
</AclButtonList>
|
||||
|
Loading…
Reference in New Issue
Block a user