Merge pull request #7402 from MrPetovan/bug/7401-node-settings-style

Ensures node theme settings are used to render theme embed
Bu işleme şunda yer alıyor:
Michael Vogel 2019-07-18 06:32:40 +02:00 işlemeyi yapan: GitHub
işleme dcebf53ecf
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme

Dosyayı Görüntüle

@ -77,6 +77,9 @@ class Embed extends BaseAdminModule
}
}
// Overrides normal theme style include to strip user param to show embedded theme settings
Renderer::$theme['stylesheet'] = 'view/theme/' . $theme . '/style.pcss';
$t = Renderer::getMarkupTemplate('admin/addons/embed.tpl');
return Renderer::replaceMacros($t, [
'$action' => '/admin/themes/' . $theme . '/embed?mode=minimal',