1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[misc] bugfix & improvement; removed unused files (#4321)

* redesigned 'repo api token' dialog
* fixup for 'system admin' pages
* removed unused ali 'priv/' files
This commit is contained in:
llj
2019-11-29 15:17:00 +08:00
committed by Daniel Pan
parent da64e39d1b
commit 09c1a5e3d9
18 changed files with 49 additions and 115 deletions

View File

@@ -36,9 +36,8 @@ class SysAdminTransferGroupDialog extends React.Component {
render() {
const { submitBtnDisabled } = this.state;
const groupName = Utils.HTMLescape(this.props.groupName);
const innerSpan = '<span class="op-target" title=' + groupName + '>' + groupName +'</span>';
const msg = gettext('Transfer Group {library_name} to').replace('{library_name}', innerSpan);
const groupName = '<span class="op-target">' + Utils.HTMLescape(this.props.groupName) +'</span>';
const msg = gettext('Transfer Group {placeholder} to').replace('{placeholder}', groupName);
return (
<Modal isOpen={true}>
<ModalHeader toggle={this.props.toggleDialog}>