Distinguish members and paid-members only post indicators

This commit is contained in:
Sodbileg Gansukh
2022-05-31 13:50:54 +08:00
parent 45bc14f08d
commit d1ac1b8c2c
4 changed files with 10 additions and 5 deletions

View File

@ -21,7 +21,12 @@ which templates loop over to generate a list of posts. --}}
{{^has visibility="public"}}
<div class="post-card-access">
{{> "icons/lock"}} Members-only
{{> "icons/lock"}}
{{#has visibility="members"}}
Members only
{{else}}
Paid-members only
{{/has}}
</div>
{{/has}}