diff --git a/frontend/src/css/system-stat.css b/frontend/src/css/system-stat.css
index fd9ece677f..3f4e22f0bc 100644
--- a/frontend/src/css/system-stat.css
+++ b/frontend/src/css/system-stat.css
@@ -25,10 +25,6 @@
width: 120px;
}
-.error-tip {
- color: red;
-}
-
.statistic-traffic-tab {
display: flex;
font-size: 13px;
diff --git a/frontend/src/pages/groups/group-view.js b/frontend/src/pages/groups/group-view.js
index 2e023ec14d..430a3278ff 100644
--- a/frontend/src/pages/groups/group-view.js
+++ b/frontend/src/pages/groups/group-view.js
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import cookie from 'react-cookies';
import classnames from 'classnames';
import { navigate } from '@gatsbyjs/reach-router';
-import { gettext, siteRoot, username } from '../../utils/constants';
+import { gettext, siteRoot, username, mediaUrl } from '../../utils/constants';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import Loading from '../../components/loading';
@@ -335,28 +335,28 @@ class GroupView extends React.Component {
className={classnames('cur-view-content', 'd-block', 'repos-container', { 'pt-3': currentViewMode != LIST_MODE })}
onScroll={this.handleScroll}
>
- {isLoading
- ?
{errMessage}
- : repoList.length == 0 - ? emptyTip - : ( -{errMessage}
+{errorMsg}
; + return ( +{errorMsg}
+{errorMsg}
; + return ( +{errorMsg}
+{errorMsg}
; + return ( +{errorMsg}
+{errorMsg}
; + return ( +{errorMsg}
+{% trans "Sorry, but the requested page could not be found." %}
{{ error_msg }}
- {% elif organization_inactive %} +{{ error_msg }}
{% else %} -{{ error_msg }}
+{{ error_msg }}
{% endif %}