mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 01:41:42 +00:00
feat: no mostrar comentarios a invitades
This commit is contained in:
parent
dc82b8cef2
commit
d5cf0fffe0
1 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
|||
.row.justify-content-center
|
||||
.col-md-8
|
||||
- summary = t('posts.edit.post')
|
||||
= render 'layouts/details', summary: summary do
|
||||
- if policy(@site).edit?
|
||||
= render 'layouts/details', summary: t('posts.edit.post') do
|
||||
= render 'posts/form', site: @site, post: @post
|
||||
= render 'layouts/details', summary: t('posts.edit.moderation_queue') do
|
||||
= render 'posts/moderation_queue', site: @site, post: @post, moderation_queue: @moderation_queue
|
||||
- else
|
||||
= render 'posts/form', site: @site, post: @post
|
||||
- summary = t('posts.edit.moderation_queue')
|
||||
= render 'layouts/details', summary: summary do
|
||||
= render 'posts/moderation_queue', site: @site, post: @post, moderation_queue: @moderation_queue
|
||||
|
|
Loading…
Reference in a new issue