Highlighted successful in the theme activation modal (#16454)
refs https://github.com/TryGhost/Team/issues/2713 - currently, it's not clear enough that if the theme activation was successful - highlighting "successful" makes it easier to know the main action was successful even though there are errors to fix
This commit is contained in:
parent
eb5ed7dda8
commit
818ea94e0e
@ -3,7 +3,7 @@
|
||||
<header class="modal-header">
|
||||
<h1 data-test-theme-warnings-title>
|
||||
{{#if @data.canActivate}}
|
||||
{{@data.title}} with {{#if @data.errors}}errors{{else}}warnings{{/if}}
|
||||
{{{@data.title}}} with {{#if @data.errors}}errors{{else}}warnings{{/if}}
|
||||
{{else}}
|
||||
{{@data.title}}
|
||||
{{/if}}
|
||||
|
@ -122,7 +122,7 @@ export default class ThemeManagementService extends Service {
|
||||
|
||||
if (!isEmpty(warnings) || !isEmpty(errors)) {
|
||||
resultModal = this.modals.open('modals/design/theme-errors', {
|
||||
title: 'Activation successful',
|
||||
title: 'Activation <span class="green">successful</span>',
|
||||
canActivate: true,
|
||||
warnings,
|
||||
errors
|
||||
|
Loading…
Reference in New Issue
Block a user