Mike Tougeron
Well-known member
Currently the <li> tag for a thread is
It would be nice to add a class name for whether or not the thread is open or closed. e.g.:
HTML:
<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state}{xen:if {$thread.sticky}, ' sticky'}{xen:if {$thread.isNew}, ' unread'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'}" data-author="{$thread.username}">
HTML:
<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state} {xen:if '!{$thread.discussion_open}', ' locked'}{xen:if {$thread.sticky}, ' sticky'}{xen:if {$thread.isNew}, ' unread'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'}" data-author="{$thread.username}">
Upvote
2