mirror of
https://github.com/flarum/core.git
synced 2025-07-18 07:11:17 +02:00
Move details from post edited indicator back into a tooltip
Showing the username and time of edit is TMI (too much information). This commit changes the visible text to "Edited", and shows the full edit information in a tooltip. ref #446
This commit is contained in:
@@ -20,7 +20,9 @@ export default class PostEdited extends Component {
|
||||
));
|
||||
|
||||
return (
|
||||
<span className="PostEdited">{editedInfo}</span>
|
||||
<span className="PostEdited" title={editedInfo}>
|
||||
{app.translator.trans('core.forum.post.edited_text')}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user