From f58a65eb0c040d3574e3987c59cb41b470afa670 Mon Sep 17 00:00:00 2001 From: diminator Date: Wed, 1 Jul 2015 11:43:33 +0200 Subject: [PATCH] s3 views dont accept anonymous --- js/components/ascribe_buttons/delete_button.js | 4 ++-- sass/main.scss | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_buttons/delete_button.js b/js/components/ascribe_buttons/delete_button.js index 7077138d..37f3d862 100644 --- a/js/components/ascribe_buttons/delete_button.js +++ b/js/components/ascribe_buttons/delete_button.js @@ -42,11 +42,11 @@ let DeleteButton = React.createClass({ if (availableAcls.indexOf('delete') > -1) { content = ; - btnDelete = ; + btnDelete = ; } else if (availableAcls.indexOf('del_from_collection') > -1){ content = ; - btnDelete = ; + btnDelete = ; } else{ return null; diff --git a/sass/main.scss b/sass/main.scss index 93b7155e..c0d15861 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -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;