1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00
This commit is contained in:
Michael An
2019-04-03 18:15:19 +08:00
parent 5a57a87546
commit ed725276d6
3 changed files with 3 additions and 3 deletions

View File

@@ -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};
} }

View File

@@ -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>

View File

@@ -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">