Skip to content

A platform for community discussion. Free, open, simple.

DEV: Wrap bookmark-list table header in plugin outlet (#23817)

Mark VanLandingham20700c7c19bd
diff --git a/app/assets/javascripts/discourse/app/components/bookmark-list.hbs b/app/assets/javascripts/discourse/app/components/bookmark-list.hbs
index 86a0b678c90..95cdf1f9515 100644
--- a/app/assets/javascripts/discourse/app/components/bookmark-list.hbs
+++ b/app/assets/javascripts/discourse/app/components/bookmark-list.hbs
@@ -6,13 +6,15 @@
<table class="topic-list bookmark-list">
<thead class="topic-list-header">
{{#unless this.site.mobileView}}
- <th class="topic-list-data">{{i18n "topic.title"}}</th>
- <th class="topic-list-data">&nbsp;</th>
- <th class="post-metadata topic-list-data">{{i18n
- "post.bookmarks.updated"
- }}</th>
- <th class="post-metadata topic-list-data">{{i18n "activity"}}</th>
- <th>&nbsp;</th>
+ <PluginOutlet @name="bookmark-list-table-header">
+ <th class="topic-list-data">{{i18n "topic.title"}}</th>
+ <th class="topic-list-data">&nbsp;</th>
+ <th class="post-metadata topic-list-data">{{i18n
+ "post.bookmarks.updated"
+ }}</th>
+ <th class="post-metadata topic-list-data">{{i18n "activity"}}</th>
+ <th>&nbsp;</th>
+ </PluginOutlet>
{{/unless}}
</thead>
<tbody class="topic-list-body">
@@ -97,7 +99,7 @@
>{{html-safe bookmark.excerpt}}</p>
</th>
{{#unless this.site.mobileView}}
- <td class="topic-list-data">
+ <td class="author-avatar topic-list-data">
{{#if bookmark.user.avatar_template}}
<a
href={{bookmark.user.path}}