Skip to contentSkip to conversation

docs/website: better recent commits/discussions output

PATCH Applied Angelo Compagnucci 2 participants 2 messages Feb 6, 2023

lore
Share & tools
lore
#0 lore raw

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.

---
 docs/website/js/buildroot.js | 2 ++
 1 file changed, 2 insertions(+)
docs/website/js/buildroot.js +2 -0
index 288e3e745c..b2975fb609 100644
@@ -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
#1 lore raw
Quoted 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.

---
 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