Message ID | 20230206104559.86803-1-angelo@amarulasolutions.com |
---|---|
State | Accepted |
Headers | show |
Series | docs/website: better recent commits/discussions output | expand |
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
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;
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(+)