All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] docs/website: better recent commits/discussions output
@ 2023-02-06 10:59 Thomas Petazzoni via buildroot
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni via buildroot @ 2023-02-06 10:59 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=101b05a37479c31e397cdabad06e346665c93eba
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Removing the "[Buildroot]" and the "Re:" from messages title to have a
cleaner look on the "news" boxes.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 docs/website/js/buildroot.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/website/js/buildroot.js b/docs/website/js/buildroot.js
index 288e3e745c..b2975fb609 100644
--- a/docs/website/js/buildroot.js
+++ b/docs/website/js/buildroot.js
@@ -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;
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-06 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 10:59 [Buildroot] [git commit] docs/website: better recent commits/discussions output Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.