{{#if content}} {{#if loaded}} {{#if view.firstPostLoaded}}
{{#if view.showFavoriteButton}} {{/if}} {{#if view.editingTopic}} {{view Discourse.ComboboxViewCategory valueAttribute="name" contentBinding="view.categories" valueBinding="view.topic.categoryName"}} {{else}}

{{#if view.topic.fancy_title}} {{view Discourse.TopicStatusView topicBinding="view.topic"}} {{{unbound view.topic.fancy_title}}} {{else}} {{#if view.topic.missing}} {{i18n topic.not_found.title}} {{else}} {{i18n topic.loading}} {{/if}} {{/if}} {{categoryLink view.topic.category}} {{#if view.topic.can_edit}} {{/if}}

{{/if}}
{{/if}}
{{view Discourse.SelectedPostsView}}
{{#if view.loadingAbove}}
{{i18n loading}}
{{/if}} {{view Discourse.TopicPostsView contentBinding="content.posts" topicViewBinding="view"}} {{#if view.loadingBelow}}
{{i18n loading}}
{{/if}}
{{#if view.loading}} {{#unless view.loadingBelow}}
{{i18n loading}}
{{/unless}} {{else}} {{#if view.fullyLoaded}} {{view Discourse.TopicFooterButtonsView topicBinding="controller.content"}} {{#if controller.content.suggested_topics}}

{{i18n suggested_topics.title}}

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

{{{unbound view.browseMoreMessage}}}

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

{{message}}

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

{{else}}
{{i18n loading}}
{{/if}} {{/if}} {{/if}} {{#if controller.filter}}
{{filterDesc}} {{i18n topic.filters.cancel}}
{{/if}} {{render share}} {{render quoteButton}} {{#if Discourse.currentUser.admin}} {{render topicAdminMenu controller.content}} {{/if}}