1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +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} show={['video', 'audio', 'image'].indexOf(mimetype) === -1 || content.acl.acl_download}
aclObject={content.acl} aclObject={content.acl}
aclName="acl_download"> aclName="acl_download">
<Button <a
bsSize="xsmall" download
className="ascribe-margin-1px" className="btn btn-xs btn-default ascribe-margin-1px"
href={content.digital_work.url} href={content.digital_work.url}
target="_blank"> target="_blank">
{/* {/*
@ -141,7 +141,7 @@ let MediaContainer = React.createClass({
using the label 'file'. using the label 'file'.
*/} */}
{getLangText('Download')} .{fileExtension || 'file'} <Glyphicon glyph="cloud-download" /> {getLangText('Download')} .{fileExtension || 'file'} <Glyphicon glyph="cloud-download" />
</Button> </a>
</AclProxy> </AclProxy>
{embed} {embed}
</p> </p>