1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00

fix show all notification link (#2719)

This commit is contained in:
C_Q
2018-12-26 16:28:19 +08:00
committed by Daniel Pan
parent 8f3b161f2f
commit 89ccc6bd2a

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { seafileAPI } from '../../utils/seafile-api';
import { gettext } from '../../utils/constants';
import { gettext, siteRoot } from '../../utils/constants';
class Notification extends React.Component {
constructor(props) {
@@ -56,7 +56,7 @@ class Notification extends React.Component {
</div>
<div className="sf-popover-con">
<ul className="notice-list" dangerouslySetInnerHTML={{__html: notice_html}}></ul>
<a href="/notification/list/" className="view-all">{gettext('See All Notifications')}</a>
<a href={siteRoot + 'notification/list/'} className="view-all">{gettext('See All Notifications')}</a>
</div>
</div>
</div>