mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 20:41:41 +00:00
Merge branch 'issue-13071' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Issue #13071 See merge request sutty/sutty!166
This commit is contained in:
commit
00d3b814d8
2 changed files with 3 additions and 3 deletions
|
@ -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.mb-3
|
||||
- @site.layouts.sort_by(&:humanized_name).each do |layout|
|
||||
|
@ -33,8 +35,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
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue