5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-14 23:28:15 +00:00

Merge branch 'issue-15068' into production.panel.sutty.nl

This commit is contained in:
f 2024-05-28 17:57:15 -03:00
commit 98f00fce72
No known key found for this signature in database
4 changed files with 12 additions and 7 deletions

View file

@ -6,7 +6,7 @@
description = post.post.image.value['description'] description = post.post.image.value['description']
end end
.col.mb-3 .col.mb-3.p-1
= render('bootstrap/card', image: image, description: description, title: post.title, class: 'h-100') do = render('bootstrap/card', image: image, description: description, title: post.title, class: 'h-100') do
- if post.post.attribute?(:description) - if post.post.attribute?(:description)
%p.card-text= post.post.description.value %p.card-text= post.post.description.value

View file

@ -41,8 +41,9 @@
Para poder cancelar, mantenemos el estado original y desactivamos Para poder cancelar, mantenemos el estado original y desactivamos
o activamos los ítemes según estén incluidos en esa lista o no. 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.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
- metadata.values.slice(*metadata.value).each do |value| -# @todo issue-7537
= render 'posts/new_array_value', value: value - if !metadata.empty? && (indexed_post = site.indexed_posts.find_by(post_id: metadata.value))
= render 'posts/new_related_post', post: indexed_post
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do = render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
- content_for :"#{id}_header" do - content_for :"#{id}_header" do

View file

@ -40,8 +40,10 @@
Para poder cancelar, mantenemos el estado original y desactivamos Para poder cancelar, mantenemos el estado original y desactivamos
o activamos los ítemes según estén incluidos en esa lista o no. 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.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
- metadata.values.slice(*metadata.value).each do |value| -# @todo issue-7537
= render 'posts/new_array_value', value: value - metadata.value.each do |uuid|
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
= render 'posts/new_related_post', post: indexed_post
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do = render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
- content_for :"#{id}_header" do - content_for :"#{id}_header" do

View file

@ -40,8 +40,10 @@
Para poder cancelar, mantenemos el estado original y desactivamos Para poder cancelar, mantenemos el estado original y desactivamos
o activamos los ítemes según estén incluidos en esa lista o no. 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.row-cols-3.row-cols-md-4.no-gutters.placeholder-glow{ data: { target: 'array.current' } }
- metadata.values.slice(*metadata.value).each do |value| -# @todo issue-7537
= render 'posts/new_array_value', value: value - metadata.value.each do |uuid|
- if (indexed_post = site.indexed_posts.find_by(post_id: uuid))
= render 'posts/new_related_post', post: indexed_post
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do = render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
- content_for :"#{id}_header" do - content_for :"#{id}_header" do