mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
[dir view] enable 'copy multiple selected folders/files' in 'read-only' libraries (#4743)
This commit is contained in:
@@ -340,6 +340,9 @@ class MultipleDirOperationToolbar extends React.Component {
|
|||||||
<Button className="secondary group-op-item action-icon sf2-icon-delete" title={gettext('Delete')} onClick={this.onItemsDelete}></Button>
|
<Button className="secondary group-op-item action-icon sf2-icon-delete" title={gettext('Delete')} onClick={this.onItemsDelete}></Button>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)}
|
)}
|
||||||
|
{userPerm === 'r' && (
|
||||||
|
<Button className="secondary group-op-item action-icon sf2-icon-copy" title={gettext('Copy')} onClick={this.onCopyToggle}></Button>
|
||||||
|
)}
|
||||||
{(userPerm === 'rw' || userPerm === 'admin' || userPerm === 'r') && (
|
{(userPerm === 'rw' || userPerm === 'admin' || userPerm === 'r') && (
|
||||||
<Button className="secondary group-op-item action-icon sf2-icon-download" title={gettext('Download')} onClick={this.onItemsDownload}></Button>
|
<Button className="secondary group-op-item action-icon sf2-icon-download" title={gettext('Download')} onClick={this.onItemsDownload}></Button>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user