mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #722 from hmhealey/timestamp
Added a tooltip to post timestamps displaying the actual time the post was created
This commit is contained in:
@@ -151,7 +151,10 @@ export default class PostInfo extends React.Component {
|
||||
return (
|
||||
<ul className='post-header post-info'>
|
||||
<li className='post-header-col'>
|
||||
<time className='post-profile-time'>
|
||||
<time
|
||||
className='post-profile-time'
|
||||
title={new Date(post.create_at).toString()}
|
||||
>
|
||||
{utils.displayDateTime(post.create_at)}
|
||||
</time>
|
||||
</li>
|
||||
|
||||
@@ -193,7 +193,10 @@ export default class RhsComment extends React.Component {
|
||||
<strong><UserProfile userId={post.user_id} /></strong>
|
||||
</li>
|
||||
<li className='post-header-col'>
|
||||
<time className='post-right-comment-time'>
|
||||
<time
|
||||
className='post-profile-time'
|
||||
title={new Date(post.create_at).toString()}
|
||||
>
|
||||
{Utils.displayCommentDateTime(post.create_at)}
|
||||
</time>
|
||||
</li>
|
||||
|
||||
@@ -132,7 +132,14 @@ export default class RhsRootPost extends React.Component {
|
||||
<div className='post__content'>
|
||||
<ul className='post-header'>
|
||||
<li className='post-header-col'><strong><UserProfile userId={post.user_id} /></strong></li>
|
||||
<li className='post-header-col'><time className='post-right-root-time'>{utils.displayCommentDateTime(post.create_at)}</time></li>
|
||||
<li className='post-header-col'>
|
||||
<time
|
||||
className='post-profile-time'
|
||||
title={new Date(post.create_at).toString()}
|
||||
>
|
||||
{utils.displayCommentDateTime(post.create_at)}
|
||||
</time>
|
||||
</li>
|
||||
<li className='post-header-col post-header__reply'>
|
||||
<div className='dropdown'>
|
||||
{ownerOptions}
|
||||
|
||||
Reference in New Issue
Block a user