mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
add
This commit is contained in:
@@ -130,7 +130,7 @@ class NoticeItem extends React.Component {
|
|||||||
} else {
|
} else {
|
||||||
notice = gettext('A file name {upload_file_link} is uploaded to {uploaded_link}.');
|
notice = gettext('A file name {upload_file_link} is uploaded to {uploaded_link}.');
|
||||||
notice = notice.replace('{upload_file_link}', fileName);
|
notice = notice.replace('{upload_file_link}', fileName);
|
||||||
notice = notice.replace('{upload_file_link}', '<strong>Deleted Library</strong>')
|
notice = notice.replace('{uploaded_link}', '<strong>Deleted Library</strong>')
|
||||||
}
|
}
|
||||||
return {avatar_url, notice};
|
return {avatar_url, notice};
|
||||||
}
|
}
|
||||||
|
@@ -141,7 +141,7 @@ class OrgDepartmentItem extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
<div className="cur-view-content">
|
<div className="cur-view-content">
|
||||||
{(members && members.length === 1 && members[0].role === "Owner") ?
|
{(members && members.length === 1 && members[0].role === "Owner") ?
|
||||||
<p className="no-member">{gettext('No Member')}</p> :
|
<p className="no-member">{gettext('No Members')}</p> :
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@@ -75,7 +75,7 @@ class OrgDepartmentsList extends React.Component {
|
|||||||
let isSub = this.props.groupID ? true : false;
|
let isSub = this.props.groupID ? true : false;
|
||||||
let header = isSub ? gettext('Sub-departments') : gettext('Departments');
|
let header = isSub ? gettext('Sub-departments') : gettext('Departments');
|
||||||
let headerButton = isSub ? gettext('New Sub-department') : gettext('New Department');
|
let headerButton = isSub ? gettext('New Sub-department') : gettext('New Department');
|
||||||
let noGroup = isSub ? gettext('No sub-department') : gettext('No department');
|
let noGroup = isSub ? gettext('No sub-departments') : gettext('No departments');
|
||||||
return (
|
return (
|
||||||
<div className="main-panel-center flex-row h-100">
|
<div className="main-panel-center flex-row h-100">
|
||||||
<div className="cur-view-container o-auto">
|
<div className="cur-view-container o-auto">
|
||||||
|
Reference in New Issue
Block a user