mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-14 20:18:18 +00:00
Merge branch 'issue-15068' into production.panel.sutty.nl
This commit is contained in:
commit
98f00fce72
4 changed files with 12 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
description = post.post.image.value['description']
|
||||
end
|
||||
|
||||
.col.mb-3
|
||||
.col.mb-3.p-1
|
||||
= render('bootstrap/card', image: image, description: description, title: post.title, class: 'h-100') do
|
||||
- if post.post.attribute?(:description)
|
||||
%p.card-text= post.post.description.value
|
||||
|
|
|
@ -41,8 +41,9 @@
|
|||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @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
|
||||
|
||||
= render 'bootstrap/modal', id: id, modal_content_attributes: { class: 'h-100' }, hide_actions: ['array#cancel'] do
|
||||
- content_for :"#{id}_header" do
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @todo issue-7537
|
||||
- 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
|
||||
- content_for :"#{id}_header" do
|
||||
|
|
|
@ -40,8 +40,10 @@
|
|||
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' } }
|
||||
- metadata.values.slice(*metadata.value).each do |value|
|
||||
= render 'posts/new_array_value', value: value
|
||||
-# @todo issue-7537
|
||||
- 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
|
||||
- content_for :"#{id}_header" do
|
||||
|
|
Loading…
Reference in a new issue