Commit 8f68b6e5 authored by Marjolaine Bodin's avatar Marjolaine Bodin
Browse files

restore tooltip

parent ff53f6ca
Pipeline #48230 passed with stage
in 3 minutes and 31 seconds
......@@ -35,15 +35,17 @@ function Event(props) {
const page = event.meta.search
? event.meta.search.page
: event.meta.page.currentPage;
const eventCreationDate = moment(getOriginalEvent(event).creationDate);
return (
<a
href={`events?page=${page}#${event._id}`}
style={{ fontWeight: 'bold' }}
className="text-muted"
>
{moment(getOriginalEvent(event).creationDate).format(
moment.HTML5_FMT.TIME_SECONDS
title={eventCreationDate.format(
moment.HTML5_FMT.DATETIME_LOCAL_SECONDS
)}
>
{eventCreationDate.format(moment.HTML5_FMT.TIME_SECONDS)}
</a>
);
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment