mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
[system admin] orgs, inst: use '24 hour time' for pages (#4550)
This commit is contained in:
@@ -158,7 +158,7 @@ class Item extends Component {
|
||||
</td>
|
||||
<td>{`${Utils.bytesToSize(item.quota_usage)} / ${item.quota_total > 0 ? Utils.bytesToSize(item.quota_total) : '--'}`}</td>
|
||||
<td>
|
||||
{moment(item.create_time).format('YYYY-MM-DD hh:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
{moment(item.create_time).format('YYYY-MM-DD HH:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
</td>
|
||||
<td>
|
||||
{isOpIconShown &&
|
||||
|
@@ -193,7 +193,7 @@ class Item extends Component {
|
||||
</td>
|
||||
<td>{`${Utils.bytesToSize(item.quota_usage)} / ${item.quota_total > 0 ? Utils.bytesToSize(item.quota_total) : '--'}`}</td>
|
||||
<td>
|
||||
{moment(item.create_time).format('YYYY-MM-DD hh:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
{moment(item.create_time).format('YYYY-MM-DD HH:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
</td>
|
||||
<td>
|
||||
{isOpIconShown &&
|
||||
|
@@ -103,7 +103,7 @@ class Item extends Component {
|
||||
<tr onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave}>
|
||||
<td><a href={groupUrl}>{item.group_name}</a></td>
|
||||
<td><UserLink email={item.creator_email} name={item.creator_name} /></td>
|
||||
<td>{moment(item.created_at).format('YYYY-MM-DD hh:mm:ss')}</td>
|
||||
<td>{moment(item.created_at).format('YYYY-MM-DD HH:mm:ss')}</td>
|
||||
<td>
|
||||
<a href="#" className={`action-icon sf2-icon-delete ${isOpIconShown ? '' : 'invisible'}`} title={gettext('Delete')} onClick={this.toggleDeleteDialog}></a>
|
||||
</td>
|
||||
|
@@ -197,7 +197,7 @@ class Item extends Component {
|
||||
</td>
|
||||
<td>{`${Utils.bytesToSize(item.quota_usage)} / ${item.quota_total > 0 ? Utils.bytesToSize(item.quota_total) : '--'}`}</td>
|
||||
<td>
|
||||
{moment(item.ctime).format('YYYY-MM-DD hh:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
{moment(item.ctime).format('YYYY-MM-DD HH:mm:ss')}{' / '}{item.last_login ? moment(item.last_login).fromNow() : '--'}
|
||||
</td>
|
||||
<td>
|
||||
{(isOpIconShown && item.email != username) &&
|
||||
|
@@ -154,7 +154,7 @@ class Item extends Component {
|
||||
/>
|
||||
</td>
|
||||
<td>{`${Utils.bytesToSize(item.quota_usage)} / ${item.quota > 0 ? Utils.bytesToSize(item.quota) : '--'}`}</td>
|
||||
<td>{moment(item.ctime).format('YYYY-MM-DD hh:mm:ss')}</td>
|
||||
<td>{moment(item.ctime).format('YYYY-MM-DD HH:mm:ss')}</td>
|
||||
<td>
|
||||
<a href="#" className={`action-icon sf2-icon-delete ${isOpIconShown ? '' : 'invisible'}`} title={gettext('Delete')} onClick={this.toggleDeleteDialog}></a>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user