5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 12:36:21 +00:00

Merge branch 'rails' of 0xacab.org:sutty/sutty into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-04-19 11:12:55 -03:00
commit 19e9bc2c71
2 changed files with 3 additions and 3 deletions

View file

@ -5,6 +5,8 @@
- cache_if @usuarie, [@site, I18n.locale] do
= render 'sites/status', site: @site
= render 'sites/build', site: @site, class: 'btn-block'
%h3= t('posts.new')
%table.table.table-sm.mb-3
%tbody
@ -29,8 +31,6 @@
type: 'info',
link: site_usuaries_path(@site)
= render 'sites/build', site: @site
- if @site.design.credits
= render 'bootstrap/alert' do
= sanitize_markdown @site.design.credits

View file

@ -3,7 +3,7 @@
method: :post,
class: 'form-inline inline' do
= submit_tag site.enqueued? ? t('sites.enqueued') : t('sites.enqueue'),
class: 'btn no-border-radius',
class: "btn no-border-radius #{local_assigns[:class]}",
title: site.enqueued? ? t('help.sites.enqueued') : t('help.sites.enqueue'),
data: { disable_with: t('sites.enqueued') },
disabled: site.enqueued?