{{#if content}} {{#if loaded}} {{#if view.firstPostLoaded}}
{{#if view.showFavoriteButton}} {{/if}} {{#if view.editingTopic}} {{categoryChooser valueAttribute="name" source=view.topic.categoryName}} {{else}}

{{#if view.topic.fancy_title}} {{topicStatus topic=view.topic}} {{{view.topic.fancy_title}}} {{else}} {{#if view.topic.errorLoading}} {{view.topic.errorTitle}} {{else}} {{i18n topic.loading}} {{/if}} {{/if}} {{boundCategoryLink category}} {{#if view.topic.can_edit}} {{/if}}

{{/if}}
{{/if}}
{{view Discourse.SelectedPostsView}}
{{#if loadingAbove}}
{{i18n loading}}
{{/if}} {{collection itemViewClass="Discourse.PostView" contentBinding="posts" topicViewBinding="view"}} {{#if loadingBelow}}
{{i18n loading}}
{{/if}}
{{#if loading}} {{#unless loadingBelow}}
{{i18n loading}}
{{/unless}} {{else}} {{#if view.fullyLoaded}} {{view Discourse.TopicClosingView topicBinding="model"}} {{view Discourse.TopicFooterButtonsView topicBinding="model"}} {{#if suggested_topics.length}}

{{i18n suggested_topics.title}}

{{each suggested_topics itemTagName="tr" itemViewClass="Discourse.SuggestedTopicView"}}
{{i18n topic.title}} {{i18n category_title}} {{i18n posts}} {{i18n likes}} {{i18n views}} {{i18n activity}}

{{{view.browseMoreMessage}}}

{{/if}} {{/if}} {{/if}}
{{else}} {{#if message}}

{{message}}

{{#linkTo list.latest}}{{i18n topic.back_to_list}}{{/linkTo}}

{{else}}
{{i18n loading}}
{{/if}} {{/if}} {{/if}} {{render share}} {{render quoteButton}} {{#if currentUser.staff}} {{render topicAdminMenu content}} {{/if}}