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:
parent
6bcb190315
commit
2cb8fb2dd9
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user