mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 09:50:34 +03:00
0b31be4c90
no issue
- Addresses 634d2daa13 (r49241896)
- Uses limit service to display the configured error message
16 lines
497 B
Handlebars
16 lines
497 B
Handlebars
{{#if this.isAllowed}}
|
|
<GhFullscreenModal @modal="upload-theme"
|
|
@model={{hash
|
|
themes=this.themes
|
|
activate=(route-action 'activateTheme')
|
|
}}
|
|
@close={{route-action "cancel"}}
|
|
@modifier="action wide" />
|
|
{{else}}
|
|
<GhFullscreenModal @modal="upgrade-host-limit-custom-theme"
|
|
@model={{hash
|
|
limitErrorMessage=limitErrorMessage
|
|
}}
|
|
@close={{route-action "cancel"}}
|
|
@modifier="action wide" />
|
|
{{/if}} |