1
0
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:
Cevo 2015-10-08 10:14:06 +02:00
parent 11b2ab7b12
commit 924b462cc1
3 changed files with 7 additions and 10 deletions

View File

@ -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>

View File

@ -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';

View File

@ -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>