mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FEATURE: new category-list-above-each-category plugin outlet (#10037)
This commit is contained in:
parent
7f8c5cf70b
commit
a3e812453e
@ -11,6 +11,7 @@
|
||||
</thead>
|
||||
<tbody aria-labelledby="categories-only-category">
|
||||
{{#each categories as |c|}}
|
||||
{{plugin-outlet name="category-list-above-each-category" connectorTagName="" tagName="" args=(hash category=c)}}
|
||||
<tr data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}} class="{{if c.description_excerpt "has-description" "no-description"}} {{if c.uploaded_logo.url "has-logo" "no-logo"}}">
|
||||
<td class="category {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-style"}}" style={{unless noCategoryStyle (border-color c.color)}}>
|
||||
{{category-title-link category=c}}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{{#if categories}}
|
||||
<div class="category-list {{if showTopics "with-topics"}}">
|
||||
{{#each categories as |c|}}
|
||||
{{plugin-outlet name="category-list-above-each-category" connectorTagName="" tagName="" args=(hash category=c)}}
|
||||
<div data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}} style={{border-color c.color}} class="category-list-item category {{if c.isMuted "muted"}}">
|
||||
<table class="topic-list">
|
||||
<tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user