mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
5a8753fb8f
refs https://github.com/TryGhost/Ghost/issues/12608 requires https://github.com/TryGhost/Ghost/pull/12635 - adds `/settings/themes/install` route with `source` and `ref` query params that match the API. Shows a confirmation modal when accessed asking to confirm installation and activation - does not allow Casper to be installed - warns if installing the theme will overwrite an existing one - follows similar process to zip uploads for error handling - adds install/preview links for Massively in the free themes showcase Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
10 lines
197 B
Handlebars
10 lines
197 B
Handlebars
<GhFullscreenModal
|
|
@modal="install-theme"
|
|
@model={{hash
|
|
source=this.source
|
|
ref=this.ref
|
|
themes=@model
|
|
}}
|
|
@close={{this.close}}
|
|
@modifier="action wide"
|
|
/> |