Version 5.0.0 beta 10

This commit is contained in:
Neo committed 2025-12-19 17:53:48 -08:00
1 parent 56979f8ee8
commit 264eeb97e0
325 files changed
+6442 -1849

No files matched your search

+9 -3
View File
@@ -2519,13 +2519,19 @@ data-first-page="{{if isset( request.page ) and request.page > 1}}false{{else}}t
<!-- Post content -->
<div data-ips-hook="postContent" class='ipsRichText ipsRichText--user' data-role='commentContent' data-controller='core.front.core.lightboxedImages'>
{{if \IPS\Member::loggedIn()->getLayoutValue( 'forum_topic_view_firstpost' ) and $comment->isFirst() and isset( request.page ) and request.page > 1}}
<div class="ipsEntry__truncate" data-ipsTruncate>
{{$includeWrapper = (member.getLayoutValue('forum_topic_view_firstpost') and $comment->isFirst());}}
{{if $includeWrapper}}
{{$collapsed = ($includeWrapper and isset( request.page ) and request.page > 1);}}
<div
{{if $collapsed}}class{{else}}data-ipstruncate-deferredclasses{{endif}}="ipsEntry__truncate"
data-ipsTruncate
{{if !$collapsed}} data-ipstruncate-deferred="1" data-collapse-off-first-page{{endif}}
>
{{endif}}
{$comment->content()|raw}
{{if \IPS\Member::loggedIn()->getLayoutValue( 'forum_topic_view_firstpost' ) and $comment->isFirst() and isset( request.page ) and request.page > 1}}
{{if $includeWrapper}}
</div>
{{endif}}