diff --git a/ghost/admin/app/components/gh-url-input.hbs b/ghost/admin/app/components/gh-url-input.hbs index e4755c3084..2695407d02 100644 --- a/ghost/admin/app/components/gh-url-input.hbs +++ b/ghost/admin/app/components/gh-url-input.hbs @@ -3,5 +3,6 @@ @type="text" @input={{setValue}} @focus-out={{validateUrlInput}} + @placeholder={{placeholder}} /> diff --git a/ghost/admin/app/components/gh-url-input.js b/ghost/admin/app/components/gh-url-input.js index 9a3d3ebe23..98da92e75a 100644 --- a/ghost/admin/app/components/gh-url-input.js +++ b/ghost/admin/app/components/gh-url-input.js @@ -16,6 +16,7 @@ export default class GhUrlInput extends Component { this.value = args.value && args.value !== '/' ? (new URL(removeLeadingSlash(args.value), this.baseUrl)).href : ''; this.setResult = args.setResult; this.validateUrl = args.validateUrl; + this.placeholder = args.placeholder; } @action diff --git a/ghost/admin/app/components/modal-portal-settings.hbs b/ghost/admin/app/components/modal-portal-settings.hbs index ddd675ba6c..6f580e1bf0 100644 --- a/ghost/admin/app/components/modal-portal-settings.hbs +++ b/ghost/admin/app/components/modal-portal-settings.hbs @@ -226,12 +226,14 @@ @baseUrl={{readonly this.siteUrl}} @setResult={{action "setFreeSignupRedirect"}} @validateUrl={{action "validateFreeSignupRedirect"}} + @placeholder={{readonly this.siteUrl}} /> +

Redirect to this URL after free signup

{{#if (and this.isStripeConfigured (or this.isMonthlyChecked this.isYearlyChecked))}} -

Members will be sent to these URLs after successful signup. If empty, the homepage will be used.

+

Redirect to this URL after paid signup

{{/if}} diff --git a/ghost/admin/app/styles/layouts/portal-settings.css b/ghost/admin/app/styles/layouts/portal-settings.css index d8a0119f4f..6be673cfe9 100644 --- a/ghost/admin/app/styles/layouts/portal-settings.css +++ b/ghost/admin/app/styles/layouts/portal-settings.css @@ -579,5 +579,5 @@ } .gh-portal-setting-section.redirects p { - margin-top: 16px; + margin-top: 4px; } \ No newline at end of file