FEATURE: add tooltips to timeline start/end dates (#18294)

This commit is contained in:
Kris
2022-09-20 21:46:14 -04:00
committed by GitHub
parent c607cdd923
commit b98cd73ace
2 changed files with 8 additions and 0 deletions
@@ -579,6 +579,9 @@ export default createWidget("topic-timeline", {
className: "start-date",
rawLabel: timelineDate(createdAt),
action: "jumpTop",
attributes: {
"data-tooltip": I18n.t("topic_entrance.sr_jump_top_button"),
},
})
),
this.attach("timeline-scrollarea", attrs),
@@ -588,6 +591,9 @@ export default createWidget("topic-timeline", {
className: "now-date",
rawLabel: bottomAge,
action: "jumpBottom",
attributes: {
"data-tooltip": I18n.t("topic_entrance.sr_jump_bottom_button"),
},
})
),
];