commit:     61301922016d6dc6d44741c603947fd92d5af0e4
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 06:12:40 2026 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 07:07:35 2026 +0000
URL:        https://gitweb.gentoo.org/proj/forums.git/commit/?id=61301922

template: move 'online' tag from post body to profile body

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

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

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 @@
        <!-- IF postrow.S_FIRST_UNREAD -->
                <a id="unread" class="anchor"<!-- IF S_UNREAD_VIEW --> 
data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
        <!-- ENDIF -->
-       <div id="p{postrow.POST_ID}" class="post has-profile <!-- IF 
postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF 
postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF 
postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF 
postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and 
not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF 
postrow.POSTER_WARNINGS --> warned<!-- ENDIF -->">
+       <div id="p{postrow.POST_ID}" class="post has-profile <!-- IF 
postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF 
postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF 
postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF 
postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS 
--> warned<!-- ENDIF -->">
                <div class="inner">
 
-               <dl class="postprofile" id="profile{postrow.POST_ID}"<!-- IF 
postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
+               <dl class="postprofile<!-- IF postrow.S_ONLINE and not 
postrow.S_IGNORE_POST --> online<!-- ENDIF -->" 
id="profile{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: 
none;"<!-- ENDIF -->>
                        <dt class="<!-- IF postrow.RANK_TITLE or 
postrow.RANK_IMG -->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> 
<!-- IF postrow.POSTER_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF 
-->">
                                <!-- EVENT viewtopic_body_post_author_before -->
                                <!-- IF not postrow.U_POST_AUTHOR 
--><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE 
-->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->

Reply via email to