From 430e584908179da3d1b57a3f07d982ec05f61b12 Mon Sep 17 00:00:00 2001 From: Bui Date: Sat, 26 Sep 2015 00:17:05 +0900 Subject: [PATCH 1/2] add active page classes to body --- templates/index.html | 2 +- templates/page.html | 2 +- templates/themes/catalog/catalog.html | 2 +- templates/thread.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 93cfcd2b..1e261615 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,7 +15,7 @@ {% include 'header.html' %} {{ board.url }} - {{ board.title|e }} - + {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} diff --git a/templates/page.html b/templates/page.html index 11b6b953..8802e341 100644 --- a/templates/page.html +++ b/templates/page.html @@ -9,7 +9,7 @@ {% if mod %}{% include 'mod/header.html' %}{% endif %} {{ title }} - + {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %}
{% if config.site_logo %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index ea89e188..8332403a 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -10,7 +10,7 @@ {% include 'header.html' %} {{ board }} - Catalog - + {{ boardlist.top }}

{{ settings.title }} (/{{ board }}/)

diff --git a/templates/thread.html b/templates/thread.html index fca5f999..8b160244 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -22,7 +22,7 @@ {{ board.url }} - {{ meta_subject }} - + {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} {% if config.url_banner %}{% endif %} From 93dfbf46aefef451d3d85a1b7f851867e77072c8 Mon Sep 17 00:00:00 2001 From: Bui Date: Sun, 27 Sep 2015 00:40:24 +0900 Subject: [PATCH 2/2] thanks @czaks :^) --- templates/index.html | 2 +- templates/thread.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 1e261615..cc97452b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,7 +15,7 @@ {% include 'header.html' %} {{ board.url }} - {{ board.title|e }} - + {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} diff --git a/templates/thread.html b/templates/thread.html index 8b160244..e293ed09 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -22,7 +22,7 @@ {{ board.url }} - {{ meta_subject }} - + {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} {% if config.url_banner %}{% endif %}