mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 06:18:17 +00:00
Merge branch 'issue-15068' into production.panel.sutty.nl
This commit is contained in:
commit
d9c4ae7b7f
6 changed files with 7 additions and 5 deletions
|
@ -44,7 +44,7 @@
|
|||
|
||||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
o activamos los ítemes según estén incluidos en esa lista o no.
|
||||
.row.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
.row.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
-# @todo issue-7537
|
||||
- if !metadata.empty? && (indexed_post = site.indexed_posts.find_by(post_id: metadata.value))
|
||||
= render 'posts/new_related_post', post: indexed_post
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
o activamos los ítemes según estén incluidos en esa lista o no.
|
||||
.row.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
.row.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
-# @todo issue-7537
|
||||
- metadata.value.each do |uuid|
|
||||
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
o activamos los ítemes según estén incluidos en esa lista o no.
|
||||
.row.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
.row.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
|
||||
-# @todo issue-7537
|
||||
- metadata.value.each do |uuid|
|
||||
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
= render 'bootstrap/btn', content: t('.edit'), action: 'modal#showAnother', data: { 'modal-show-value': modal_id }, id: random_id
|
||||
|
||||
-# Aquí se reemplaza por la tarjeta y el UUID luego de guardar
|
||||
.row.row-cols-1.no-gutters.placeholder-glow{ id: target_id }
|
||||
.row.no-gutters.placeholder-glow{ id: target_id }
|
||||
-# @todo issue-7537
|
||||
- if !metadata.empty? && (indexed_post = site.indexed_posts.find_by(post_id: metadata.value))
|
||||
= render 'posts/new_has_one', post: indexed_post, name: name, value: metadata.value
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
Para poder cancelar, mantenemos el estado original y desactivamos
|
||||
o activamos los ítemes según estén incluidos en esa lista o no.
|
||||
%ul.placeholder-glow{ data: { target: 'array.current' } }
|
||||
%ul.list-unstyled.px-3.font-weight-bold.placeholder-glow{ data: { target: 'array.current' } }
|
||||
- unless metadata.empty?
|
||||
= render 'posts/new_array_value', value: metadata.to_s
|
||||
|
||||
|
|
|
@ -100,6 +100,8 @@
|
|||
- dir = @site.data.dig(params[:locale], 'dir')
|
||||
- size = @posts.size
|
||||
- @posts.each_with_index do |post, i|
|
||||
-# @todo issue-7537
|
||||
- next if post.layout.hidden?
|
||||
-#
|
||||
TODO: Solo les usuaries cachean porque tenemos que separar
|
||||
les botones por permisos.
|
||||
|
|
Loading…
Reference in a new issue