mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
fe31ee34e8
ref https://linear.app/tryghost/issue/ONC-111
This reverts commit 3d9d552271
.
This commit broke bulk post actions which we do not have tests for, so
we will need to address that as well as add tests.
21 lines
637 B
Handlebars
21 lines
637 B
Handlebars
<MultiList::List @model={{@list}} class="posts-list gh-list {{unless @model "no-posts"}} feature-memberAttribution" as |list| >
|
|
{{#each @model as |post|}}
|
|
<list.item @id={{post.id}} class="gh-posts-list-item-group">
|
|
<PostsList::ListItem
|
|
@post={{post}}
|
|
data-test-post-id={{post.id}}
|
|
/>
|
|
</list.item>
|
|
{{else}}
|
|
{{yield}}
|
|
{{/each}}
|
|
</MultiList::List>
|
|
|
|
{{!-- The currently selected item or items are passed to the context menu --}}
|
|
<GhContextMenu
|
|
@name="context-menu"
|
|
as |menu|
|
|
>
|
|
<PostsList::ContextMenu @menu={{menu}} />
|
|
</GhContextMenu>
|