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

This commit is contained in:
Mark VanLandingham 2023-10-10 08:18:31 -05:00 committed by GitHub
parent 6c836af532
commit 20700c7c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,13 +6,15 @@
<table class="topic-list bookmark-list"> <table class="topic-list bookmark-list">
<thead class="topic-list-header"> <thead class="topic-list-header">
{{#unless this.site.mobileView}} {{#unless this.site.mobileView}}
<th class="topic-list-data">{{i18n "topic.title"}}</th> <PluginOutlet @name="bookmark-list-table-header">
<th class="topic-list-data">&nbsp;</th> <th class="topic-list-data">{{i18n "topic.title"}}</th>
<th class="post-metadata topic-list-data">{{i18n <th class="topic-list-data">&nbsp;</th>
"post.bookmarks.updated" <th class="post-metadata topic-list-data">{{i18n
}}</th> "post.bookmarks.updated"
<th class="post-metadata topic-list-data">{{i18n "activity"}}</th> }}</th>
<th>&nbsp;</th> <th class="post-metadata topic-list-data">{{i18n "activity"}}</th>
<th>&nbsp;</th>
</PluginOutlet>
{{/unless}} {{/unless}}
</thead> </thead>
<tbody class="topic-list-body"> <tbody class="topic-list-body">
@ -97,7 +99,7 @@
>{{html-safe bookmark.excerpt}}</p> >{{html-safe bookmark.excerpt}}</p>
</th> </th>
{{#unless this.site.mobileView}} {{#unless this.site.mobileView}}
<td class="topic-list-data"> <td class="author-avatar topic-list-data">
{{#if bookmark.user.avatar_template}} {{#if bookmark.user.avatar_template}}
<a <a
href={{bookmark.user.path}} href={{bookmark.user.path}}