1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/components/gh-members-no-members.hbs
Kevin Ansfield b75f5965d3 🐛 Fixed members list not refreshing after adding yourself
no issue

- passed in the `refreshData` action to the `<GhMembersNoMembers>` component and called it after creating the member
- converted `<GhMembersNoMembers>` to a glimmer component
2020-06-05 08:50:20 +01:00

16 lines
637 B
Handlebars

<div class="flex flex-column items-stretch">
{{!-- <p class="">Get started with one of the following options</p> --}}
<button class="gh-btn gh-btn-green" {{on "click" this.addYourself}}>
<span>Add yourself as a member to test</span>
</button>
<div class="flex flex-column items-stretch mt8 pt8 pb10 bt b--lightgrey-d1">
<LinkTo @route="member.new" class="gh-btn gh-btn-outline mb3">
<span>Manually add a member</span>
</LinkTo>
<LinkTo @route="members.import" class="gh-btn gh-btn-outline">
<span>Import members from CSV</span>
</LinkTo>
</div>
</div>