docs/website: better recent commits/discussions output
PATCH 1/1 docs/website: better recent commits/discussions output
Removing the "[Buildroot]" and the "Re:" from messages title to have a cleaner look on the "news" boxes.
Signed-off-by Angelo Compagnucci <[email protected]>
--- docs/website/js/buildroot.js | 2 ++ 1 file changed, 2 insertions(+)
docs/website/js/buildroot.js +2 -0
@@ -19,6 +19,8 @@ function display_activity(result, activity) { let link = document.createElement("a"); let d = new Date(entry.updated); let data = '[' + d.toLocaleDateString() + '] ' + entry.title; + data = data.replace("Re: ",""); + data = data.replace("[Buildroot] ",""); let text = document.createTextNode(data); link.appendChild(text); link.title = entry.title;
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 7 lines · On Mon, 6 Feb 2023 11:45:59 +0100 Angelo Compagnucci…
Removing the "[Buildroot]" and the "Re:" from messages title to have a cleaner look on the "news" boxes.
Signed-off-by Angelo Compagnucci <[email protected]>--- docs/website/js/buildroot.js | 2 ++ 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot