1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Replace bootstrap button with proper dl-link

This commit is contained in:
Tim Daubenschütz 2016-02-08 16:44:27 +01:00
parent 6bcb190315
commit 2cb8fb2dd9

View File

@ -131,9 +131,9 @@ let MediaContainer = React.createClass({
show={['video', 'audio', 'image'].indexOf(mimetype) === -1 || content.acl.acl_download}
aclObject={content.acl}
aclName="acl_download">
<Button
bsSize="xsmall"
className="ascribe-margin-1px"
<a
download
className="btn btn-xs btn-default ascribe-margin-1px"
href={content.digital_work.url}
target="_blank">
{/*
@ -141,7 +141,7 @@ let MediaContainer = React.createClass({
using the label 'file'.
*/}
{getLangText('Download')} .{fileExtension || 'file'} <Glyphicon glyph="cloud-download" />
</Button>
</a>
</AclProxy>
{embed}
</p>