commit:     b78962aa7a25491ab48a4a7f465ffed5a3728c12
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 16:26:21 2026 +0000
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 <chiitoo <AT> 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 @@
 <!-- ENDIF -->
 
 
-<div id="post-{MESSAGE_ID}" class="post pm has-profile<!-- IF S_ONLINE --> 
online<!-- ENDIF -->">
+<div id="post-{MESSAGE_ID}" class="post pm has-profile">
 <div class="inner">
 
-       <dl class="postprofile" id="profile{MESSAGE_ID}">
+       <dl class="postprofile<!-- IF S_ONLINE --> online<!-- ENDIF -->" 
id="profile{MESSAGE_ID}">
                <dt class="<!-- IF RANK_TITLE or RANK_IMG 
-->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> <!-- IF 
AUTHOR_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF -->">
                        {% 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 @@
        <!-- 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