|
@@ -80,7 +80,7 @@ class ShareLinkSetting extends React.Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
render() {
|
|
|
- const { adminGeneralSecurityContainer } = this.props;
|
|
|
|
|
|
|
+ const { t, adminGeneralSecurityContainer } = this.props;
|
|
|
|
|
|
|
|
const pager = (
|
|
const pager = (
|
|
|
<div className="pull-right my-3">
|
|
<div className="pull-right my-3">
|
|
@@ -101,7 +101,7 @@ class ShareLinkSetting extends React.Component {
|
|
|
type="button"
|
|
type="button"
|
|
|
onClick={this.showDeleteConfirmModal}
|
|
onClick={this.showDeleteConfirmModal}
|
|
|
>
|
|
>
|
|
|
- Delete all links
|
|
|
|
|
|
|
+ {t('delete_all_share_links')}
|
|
|
</button>
|
|
</button>
|
|
|
)
|
|
)
|
|
|
: (
|
|
: (
|
|
@@ -113,7 +113,7 @@ class ShareLinkSetting extends React.Component {
|
|
|
<Fragment>
|
|
<Fragment>
|
|
|
<div className="mb-3">
|
|
<div className="mb-3">
|
|
|
{deleteAllButton}
|
|
{deleteAllButton}
|
|
|
- <h2 className="alert-anchor border-bottom">Shared Link List</h2>
|
|
|
|
|
|
|
+ <h2 className="alert-anchor border-bottom">{t('share_link_management')}</h2>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{pager}
|
|
{pager}
|
|
@@ -121,11 +121,11 @@ class ShareLinkSetting extends React.Component {
|
|
|
<table className="table table-bordered">
|
|
<table className="table table-bordered">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <th>Link</th>
|
|
|
|
|
- <th>PagePath</th>
|
|
|
|
|
- <th>Expiration</th>
|
|
|
|
|
- <th>Description</th>
|
|
|
|
|
- <th>Order</th>
|
|
|
|
|
|
|
+ <th>{t('Share Link')}</th>
|
|
|
|
|
+ <th>{t('Page Path')}</th>
|
|
|
|
|
+ <th>{t('expire')}</th>
|
|
|
|
|
+ <th>{t('description')}</th>
|
|
|
|
|
+ <th></th>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
@@ -143,7 +143,7 @@ class ShareLinkSetting extends React.Component {
|
|
|
shareLinks={sharelink._id}
|
|
shareLinks={sharelink._id}
|
|
|
onClick={() => { this.deleteLinkById(sharelink._id) }}
|
|
onClick={() => { this.deleteLinkById(sharelink._id) }}
|
|
|
>
|
|
>
|
|
|
- <i className="icon-trash mr-2"></i>Delete
|
|
|
|
|
|
|
+ <i className="icon-trash mr-2"></i>{t('Delete')}
|
|
|
</button>
|
|
</button>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|