All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] docs/website: better recent commits/discussions output
@ 2023-02-06 10:45 Angelo Compagnucci
  2023-02-06 10:59 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Angelo Compagnucci @ 2023-02-06 10:45 UTC (permalink / raw)
  To: buildroot; +Cc: thomas.petazzoni, 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 <angelo@amarulasolutions.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;
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] docs/website: better recent commits/discussions output
  2023-02-06 10:45 [Buildroot] [PATCH] docs/website: better recent commits/discussions output Angelo Compagnucci
@ 2023-02-06 10:59 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-06 10:59 UTC (permalink / raw)
  To: Angelo Compagnucci; +Cc: buildroot

On Mon,  6 Feb 2023 11:45:59 +0100
Angelo Compagnucci <angelo@amarulasolutions.com> wrote:

> 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>
> ---
>  docs/website/js/buildroot.js | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-06 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 10:45 [Buildroot] [PATCH] docs/website: better recent commits/discussions output Angelo Compagnucci
2023-02-06 10:59 ` 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.