{{if \IPS\gallery\Image::containerUnread( $album )}}
{{endif}}
{{if $album->asItem()->mapped('featured')}}
{{endif}}
{{if $album->type === \IPS\gallery\Album::AUTH_TYPE_PRIVATE}}
{lang="album_private_badge"}
{{elseif $album->type === \IPS\gallery\Album::AUTH_TYPE_RESTRICTED}}
{lang="album_friend_only_badge"}
{{endif}}
{{if \IPS\gallery\Image::containerUnread( $album )}}{{endif}}
{$album->_title}
{{if \IPS\gallery\Image::containerUnread( $album )}}{{endif}}
{{if $result = $album->truncated()}}
{$result|raw}
{{endif}}
{{if $album->type === \IPS\gallery\Album::AUTH_TYPE_PRIVATE}}
{lang="album_private_badge"}
{{elseif $album->type === \IPS\gallery\Album::AUTH_TYPE_RESTRICTED}}
{lang="album_friend_only_badge"}
{{endif}}
{{if !isset( \IPS\Request::i()->tab ) || \IPS\Request::i()->tab !== 'node_gallery_gallery'}}
- {lang="album_created_by"} {$album->owner()->link()|raw}
{{endif}}
{{if $album->last_img_date}}
- {lang="updated"} {datetime="$album->last_img_date"}
{{endif}}
- {lang="num_images" pluralize="$album->count_imgs"}
{{if $album->use_comments && $album->comments > 0}}
- {lang="gallery_album_num_comments_lc" pluralize="$album->comments"}
{{endif}}
{{if $album->allow_comments && $album->count_comments > 0}}
- {lang="gallery_image_comments_s" pluralize="$album->count_comments"}
{{endif}}
{{if $album->use_reviews && $album->reviews > 0}}
- {lang="gallery_album_num_reviews_lc" pluralize="$album->reviews"}
{{endif}}
- {lang="num_images" pluralize="$album->count_imgs"}
{{if $album->use_comments && $album->comments > 0}}
- {lang="gallery_album_num_comments_lc" pluralize="$album->comments"}
{{endif}}
{{if $album->allow_comments && $album->count_comments > 0}}
- {lang="gallery_image_comments_s" pluralize="$album->count_comments"}
{{endif}}
{{if $album->use_reviews && $album->reviews > 0}}
- {lang="gallery_album_num_reviews_lc" pluralize="$album->reviews"}
{{endif}}