mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 02:26:29 +00:00
Merge branch 'recuperar-partials' into panel.sutty.nl
This commit is contained in:
commit
55f06e97fd
1 changed files with 43 additions and 46 deletions
|
@ -14,6 +14,7 @@
|
||||||
%table.table.table-condensed
|
%table.table.table-condensed
|
||||||
%tbody
|
%tbody
|
||||||
- @sites.each do |site|
|
- @sites.each do |site|
|
||||||
|
- begin
|
||||||
- next unless site.jekyll
|
- next unless site.jekyll
|
||||||
- rol = current_usuarie.rol_for_site(site)
|
- rol = current_usuarie.rol_for_site(site)
|
||||||
-#
|
-#
|
||||||
|
@ -54,10 +55,6 @@
|
||||||
text: t('usuaries.index.title'),
|
text: t('usuaries.index.title'),
|
||||||
type: 'info',
|
type: 'info',
|
||||||
link: site_usuaries_path(site)
|
link: site_usuaries_path(site)
|
||||||
- if policy(site).pull? && site.repository.needs_pull?
|
|
||||||
= render 'layouts/btn_with_tooltip',
|
|
||||||
tooltip: t('help.sites.pull'),
|
|
||||||
text: t('.pull'),
|
|
||||||
type: 'info',
|
|
||||||
link: site_pull_path(site)
|
|
||||||
= render 'sites/build', site: site
|
= render 'sites/build', site: site
|
||||||
|
- rescue ActionView::Template::Error => e
|
||||||
|
- ExceptionNotifier.notify_exception(e.cause, data: { site: @site.name, usuarie: current_usuarie.id })
|
||||||
|
|
Loading…
Reference in a new issue