mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 03:46:21 +00:00
Merge branch 'issue-9989' into 'rails'
fix: temporalmente deshabilitar el boton #9989 See merge request sutty/sutty!118
This commit is contained in:
commit
ea774cf097
2 changed files with 4 additions and 7 deletions
|
@ -108,6 +108,10 @@ class Post
|
||||||
|
|
||||||
# Cacofonía
|
# Cacofonía
|
||||||
html.to_html.html_safe
|
html.to_html.html_safe
|
||||||
|
rescue Liquid::Error => e
|
||||||
|
ExceptionNotifier.notify(e, data: { site: site.name, post: post.id })
|
||||||
|
|
||||||
|
''
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,6 @@
|
||||||
edit_site_post_path(@site, @post.id),
|
edit_site_post_path(@site, @post.id),
|
||||||
class: 'btn btn-block'
|
class: 'btn btn-block'
|
||||||
|
|
||||||
- unless @post.layout.ignored?
|
|
||||||
= link_to t('posts.preview.btn'),
|
|
||||||
site_post_preview_path(@site, @post.id),
|
|
||||||
class: 'btn btn-block',
|
|
||||||
target: '_blank',
|
|
||||||
rel: 'noopener'
|
|
||||||
|
|
||||||
%table.table.table-condensed
|
%table.table.table-condensed
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
|
|
Loading…
Reference in a new issue