5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 05:01:41 +00:00

feat: no mostrar comentarios a invitades

This commit is contained in:
f 2024-02-28 12:09:16 -03:00
parent dc82b8cef2
commit d5cf0fffe0
No known key found for this signature in database

View file

@ -1,8 +1,9 @@
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
- summary = t('posts.edit.post') - if policy(@site).edit?
= render 'layouts/details', summary: summary do = 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 = 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