mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:03:40 +08:00
DEV: Add div around choose-topic results (#15379)
This commit is contained in:
parent
3ca1b17589
commit
852dc85504
|
@ -17,29 +17,31 @@
|
|||
{{#if noResults}}
|
||||
<p>{{i18n "choose_topic.none_found"}}</p>
|
||||
{{else}}
|
||||
{{#each topics as |t|}}
|
||||
<div class="controls existing-topic">
|
||||
<label class="radio">
|
||||
{{input
|
||||
id=(concat "choose-topic-" t.id)
|
||||
checked=(eq t.id selectedTopicId)
|
||||
click=(action "chooseTopic" t)
|
||||
type="radio"
|
||||
name="choose_topic_id"
|
||||
}}
|
||||
{{topic-status topic=t disableActions=true}}
|
||||
<span class="topic-title">
|
||||
{{replace-emoji t.fancy_title}}
|
||||
</span>
|
||||
<span class="topic-categories">
|
||||
{{bound-category-link t.category
|
||||
recursive=true
|
||||
hideParent=true
|
||||
link=false
|
||||
<div class="choose-topic-list">
|
||||
{{#each topics as |t|}}
|
||||
<div class="controls existing-topic">
|
||||
<label class="radio">
|
||||
{{input
|
||||
id=(concat "choose-topic-" t.id)
|
||||
checked=(eq t.id selectedTopicId)
|
||||
click=(action "chooseTopic" t)
|
||||
type="radio"
|
||||
name="choose_topic_id"
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{topic-status topic=t disableActions=true}}
|
||||
<span class="topic-title">
|
||||
{{replace-emoji t.fancy_title}}
|
||||
</span>
|
||||
<span class="topic-categories">
|
||||
{{bound-category-link t.category
|
||||
recursive=true
|
||||
hideParent=true
|
||||
link=false
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user