{{if $forum->can('view')}} {{$lastPost = $forum->lastPost();}} {{$club = $forum->club();}}

{{if $forum->password && !$forum->loggedInMemberHasPasswordAccess()}} {$forum->_title} {{else}} {{if $club}}{lang="club_node" sprintf="$club->name, $forum->_title"}{{else}}{$forum->_title}{{endif}} {{endif}}

{{if !$forum->redirect_on}} {{endif}}
{{if $forum->description OR $forum->hasChildren() OR (\IPS\forums\Topic::modPermission( 'unhide', NULL, $forum ) AND ( $forum->queued_topics OR $forum->queued_posts ))}}
{{if $forum->description}} {template="richText" group="global" app="core" location="global" params="$forum->description, array('ipsType_medium')"} {{endif}} {{if \IPS\forums\Topic::modPermission( 'unhide', NULL, $forum ) AND ( $forum->queued_topics OR $forum->queued_posts )}} {{if $forum->queued_topics}} 'queued_topics' ) )}' data-ipsTooltip title='{lang="queued_topics_badge" pluralize="$forum->queued_topics"}' class='ipsType_blendLinks'>{$forum->queued_topics} {{else}} 0 {{endif}} / {{if $forum->queued_posts}} 'queued_posts' ) )}' data-ipsTooltip title='{lang="queued_posts_badge" pluralize="$forum->queued_posts"}' class='ipsType_blendLinks'>{$forum->queued_posts} {{else}} 0 {{endif}} {{endif}} {{if $forum->hasChildren()}}
{{endif}}
{{endif}}
{{if !$forum->redirect_on}} {{if $lastPost}}
{template="userPhoto" app="core" group="global" params="$lastPost['author'], 'tiny'"}
  • {$lastPost['topic_title']}
  • {{if member.member_id}} {{$lastPostURL = $lastPost['topic_url']->setQueryString( 'do', 'getLastComment' );}} {{else}} {{$lastPostURL = $lastPost['topic_url']; }} {{endif}}
  • {lang="topic_snippet_last_reply" htmlsprintf="$lastPost['author']->link(), $lastPostURL, \IPS\DateTime::ts( $lastPost['date'] )->html()"}
{{else}}

{{if $forum->password}}{lang="no_forum_posts_password"}{{else}}{lang="no_forum_posts"}{{endif}}

{{endif}} {{else}}

{lang="redirect_hits" pluralize="$forum->redirect_hits"}

{{endif}}
{{endif}}