-
- {block 'topic_content_text'}
- {if $isList and $topic->getTextShort()}
- {$topic->getTextShort()}
- {else}
- {$topic->getText()}
- {/if}
- {/block}
-
-
- {* Кат *}
- {if $isList && $topic->getTextShort()}
- {component 'button'
- classes = "{$component}-cut"
- url = "{$topic->getUrl()}#cut"
- text = "{$topic->getCutText()|default:$aLang.topic.read_more}"}
- {/if}
-
-
- {* Дополнительные поля *}
- {block 'topic_content_properties'}
- {if ! $isList}
- {component 'property' template='output.list' properties=$topic->property->getPropertyList()}
- {/if}
- {/block}
-
- {* Опросы *}
- {block 'topic_content_polls'}
- {if ! $isList}
- {component 'poll' template='list' polls=$topic->getPolls()}
- {/if}
- {/block}
- {/block}
-
-
- {**
- * Футер
- *}
- {block 'topic_footer'}
- {if ! $isList && $topic->getTypeObject()->getParam('allow_tags')}
- {$favourite = $topic->getFavourite()}
-
- {if ! $isPreview}
- {component 'tags-personal'
- classes = 'js-tags-favourite'
- tags = $topic->getTagsObjects()
- tagsPersonal = ( $favourite ) ? $favourite->getTagsObjects() : []
- isEditable = ! $favourite
- targetType = 'topic'
- targetId = $topic->getId()}
- {/if}
- {/if}
-
-
-
- {* Всплывающий блок появляющийся при нажатии на кнопку Поделиться *}
- {if ! $isList && ! $isPreview}
-