mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
s3 views dont accept anonymous
This commit is contained in:
parent
ca3b058b4d
commit
f58a65eb0c
@ -42,11 +42,11 @@ let DeleteButton = React.createClass({
|
||||
|
||||
if (availableAcls.indexOf('delete') > -1) {
|
||||
content = <EditionDeleteForm editions={ this.props.editions }/>;
|
||||
btnDelete = <Button bsStyle="danger" bsSize="small">DELETE</Button>;
|
||||
btnDelete = <Button bsStyle="danger" className="btn-delete" bsSize="small">DELETE</Button>;
|
||||
}
|
||||
else if (availableAcls.indexOf('del_from_collection') > -1){
|
||||
content = <EditionRemoveFromCollectionForm editions={ this.props.editions }/>;
|
||||
btnDelete = <Button bsStyle="danger" bsSize="small">REMOVE FROM COLLECTION</Button>;
|
||||
btnDelete = <Button bsStyle="danger" className="btn-delete" bsSize="small">REMOVE FROM COLLECTION</Button>;
|
||||
}
|
||||
else{
|
||||
return null;
|
||||
|
@ -100,6 +100,10 @@ body {
|
||||
.btn-delete{
|
||||
background-color: rgba(0,0,0,0);
|
||||
color: #888;
|
||||
border: 1px solid rgba(0,0,0,0);
|
||||
&:hover{
|
||||
border: 1px solid $ascribe-brand-danger;
|
||||
}
|
||||
}
|
||||
.btn-ascribe, .btn-ascribe-inv {
|
||||
border: 1px solid #444;
|
||||
|
Loading…
Reference in New Issue
Block a user