[gentoo-commits] proj/forums:styles/gentoo-dark commit in: template/

2026-03-05 Thread Jimi Huotari
commit: a6876a4cd69c9eeaa29d95e82a8b86cc92f0cd1d
Author: Jimi Huotari  gentoo  org>
AuthorDate: Wed Jan 28 10:39:58 2026 +
Commit: Jimi Huotari  gentoo  org>
CommitDate: Thu Mar  5 16:19:40 2026 +
URL:https://gitweb.gentoo.org/proj/forums.git/commit/?id=a6876a4c

template: sync templates with upstream

Apply changes from upstream (with trailing whitespace and all) while
(hopefully) preserving all the changes we have made.

This/the previous commit also fixes the bread-crumbs, as well
as the "reset password" form.

Signed-off-by: Jimi Huotari  gentoo.org>

 template/index_body.html |  6 ++---
 template/navbar_header.html  | 51 +++-
 template/overall_footer.html |  4 ++--
 template/overall_header.html |  2 +-
 template/ucp_pm_viewmessage.html |  7 --
 template/viewtopic_body.html | 44 --
 6 files changed, 73 insertions(+), 41 deletions(-)

diff --git a/template/index_body.html b/template/index_body.html
index 7b5fab3f4..a3f2082a5 100644
--- a/template/index_body.html
+++ b/template/index_body.html
@@ -27,8 +27,8 @@

{L_LOGIN_LOGOUT}  •  {L_REGISTER}

-   {L_USERNAME}{L_COLON} 
-   {L_PASSWORD}{L_COLON} 
+   {L_USERNAME}{L_COLON} 
+   {L_PASSWORD}{L_COLON} 

{L_FORGOT_PASS}

@@ -49,7 +49,7 @@
{L_WHO_IS_ONLINE}{L_WHO_IS_ONLINE}


-   {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN}){RECORD_USERS}
+   {TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN}){RECORD_USERS} 

{LOGGED_IN_USER_LIST}
{L_LEGEND}{L_COLON} 
{LEGEND}

diff --git a/template/navbar_header.html b/template/navbar_header.html
index dc2928592..a4b23f6ac 100644
--- a/template/navbar_header.html
+++ b/template/navbar_header.html
@@ -160,7 +160,7 @@



-   
+   


{L_LOGIN_LOGOUT}
@@ -178,32 +178,41 @@

 

-   
+   {% set MICRODATA = 'itemtype="https://schema.org/ListItem"; 
itemprop="itemListElement" itemscope' %}
{% set navlink_position = 1 %}
-   
-   http://schema.org/BreadcrumbList";>
-   
-   https://schema.org/Thing"; itemprop="item" 
data-navbar-reference="home">{L_SITE_HOME}
-   
-   
-   https://schema.org/Thing"; itemprop="item" 
accesskey="h" data-navbar-reference="index">{L_INDEX}
-
-   
-   
-{navlinks.MICRODATA}>https://schema.org/Thing"; 
itemprop="item">{navlinks.FORUM_NAME}
-   
-   
-   
+
+   {% EVENT overall_header_breadcrumbs_before %}
+
+   https://schema.org/BreadcrumbList";>
+
+   {% if U_SITE_HOME %}
+   {{ 
L_SITE_HOME }}
+   {% endif %}
+
+   {% EVENT overall_header_breadcrumb_prepend %}
+   {% if not U_SITE_HOME %}{% endif %}{{ L_INDEX }}
+
+   {% for navlink in navlinks %}
+   {% set NAVLINK_NAME = navlink.BREADCRUMB_NAME | 
default(navlink.FORUM_NAME) %}
+   {% set NAVLINK_LINK = navlink.U_BREADCRUMB | 
default(navlink.U_VIEW_FORUM) %}
+
+   {% EVENT overall_header_navlink_prepend %}
+   {{ NAVLINK_NAME 
}}
+   {% EVENT overall_header_navlink_append %}
+   {% endfor %}
+
+   {% EVENT overall_header_breadcrumb_append %}

-   
 
-   
+   {% EVENT overall_header_breadcrumbs_after %}
+
+   {% if S_DISPLAY_SEARCH and not S_IN_SEARCH %}

-   
-   {L_SEARCH}
+   
+   {{ lang('SEARCH') }}


-   
+   {% endif %}

 


diff --git a/template/overall_footer.html b/template/overall_footer.html
index 898ce0acb..30f218e0e 100644
--- a/template/overall_footer.html
+++ b/template/overall_footer.html
@@ -59,11 +59,11 @@
 
 

-   {RUN_CRON_TASK}
+   {% if not S_IS_BOT %}{{ RUN_CRON_TASK }}{% endif %}
 
 
 
-window.jQuery || document.write('\x

[gentoo-commits] proj/forums:styles/gentoo-dark commit in: template/

2026-03-05 Thread Jimi Huotari
commit: f242e358c2eacd8a00c7bf0da01a42768f1916fa
Author: Jimi Huotari  gentoo  org>
AuthorDate: Tue Jan 27 18:58:06 2026 +
Commit: Jimi Huotari  gentoo  org>
CommitDate: Thu Mar  5 15:02:50 2026 +
URL:https://gitweb.gentoo.org/proj/forums.git/commit/?id=f242e358

template: update footer copyright and remove Gossamer Threads bit

Gossamer Threads has not been hosting us since around 2023 [1].

1. https://archives.gentoo.org/gentoo-announce/ZCPUz%2FTOqqdyy2Yy  
orbis-terrarum.net/

Signed-off-by: Jimi Huotari  gentoo.org>

 template/overall_footer.html | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/template/overall_footer.html b/template/overall_footer.html
index 222f65e6e..898ce0acb 100644
--- a/template/overall_footer.html
+++ b/template/overall_footer.html
@@ -9,13 +9,9 @@



-   © 2001–2020 Gentoo 
Foundation, Inc.
+   © 2001–2026 Gentoo 
Foundation, Inc.

-   Hosting by
-   https://www.gossamer-threads.com/"; title="Hosting" role="menuitem">
-   Gossamer Threads 
Inc.
-   
-   |
+   
{{ CREDIT_LINE }}





[gentoo-commits] proj/forums:styles/gentoo-dark commit in: template/

2026-03-05 Thread Jimi Huotari
commit: 471547cc69076e4c4c1ba90bd3190b11fe60d90f
Author: Jimi Huotari  gentoo  org>
AuthorDate: Thu Mar  5 16:14:30 2026 +
Commit: Jimi Huotari  gentoo  org>
CommitDate: Thu Mar  5 16:26:21 2026 +
URL:https://gitweb.gentoo.org/proj/forums.git/commit/?id=471547cc

template: re-apply a few 'navbar_header' divs

These are not in 'gentoo-20XX', from which earlier commits have been
cherry-picked.

Re-add them here, though their actual effect remains a mystery
at this time.

Signed-off-by: Jimi Huotari  gentoo.org>

 template/navbar_header.html | 4 
 1 file changed, 4 insertions(+)

diff --git a/template/navbar_header.html b/template/navbar_header.html
index a4b23f6ac..f7841622e 100644
--- a/template/navbar_header.html
+++ b/template/navbar_header.html
@@ -1,6 +1,7 @@
 

 
+   

 

@@ -176,7 +177,9 @@



+   
 
+   

{% set MICRODATA = 'itemtype="https://schema.org/ListItem"; 
itemprop="itemListElement" itemscope' %}
{% set navlink_position = 1 %}
@@ -214,6 +217,7 @@

{% endif %}

+   
 

 



[gentoo-commits] proj/forums:styles/gentoo-dark commit in: template/

2026-03-05 Thread Jimi Huotari
commit: b78962aa7a25491ab48a4a7f465ffed5a3728c12
Author: Jimi Huotari  gentoo  org>
AuthorDate: Thu Mar  5 06:12:40 2026 +
Commit: Jimi Huotari  gentoo  org>
CommitDate: Thu Mar  5 16:26:21 2026 +
URL:https://gitweb.gentoo.org/proj/forums.git/commit/?id=b78962aa

template: move 'online' tag (back) to the profile body

It would be in the wrong side again now due to cherry-picks.

Signed-off-by: Jimi Huotari  gentoo.org>

 template/ucp_pm_viewmessage.html | 4 ++--
 template/viewtopic_body.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/template/ucp_pm_viewmessage.html b/template/ucp_pm_viewmessage.html
index eeba287ba..6d8c7cfcb 100644
--- a/template/ucp_pm_viewmessage.html
+++ b/template/ucp_pm_viewmessage.html
@@ -23,10 +23,10 @@
 
 
 
-
+
 
 
-   
+   

{% EVENT ucp_pm_viewmessage_author_full_before %}
{MESSAGE_AUTHOR_FULL}

diff --git a/template/viewtopic_body.html b/template/viewtopic_body.html
index 76a80b279..cb943c2f3 100644
--- a/template/viewtopic_body.html
+++ b/template/viewtopic_body.html
@@ -145,10 +145,10 @@

 
data-url="{postrow.U_MINI_POST}">

-   
+   

 
-style="display: none;">
+style="display: 
none;">


{postrow.POST_AUTHOR_FULL}{postrow.POST_AUTHOR_FULL}