[TASK] Add preset for mail SMTP settings in install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / Configuration / Mail / Sendmail.html
index 1eeaac8..b33776c 100644 (file)
@@ -1,4 +1,4 @@
-<div class="typo3-message {f:if(condition:'{preset.isAvailable}', then:'message-ok', else:'message-error')}">
+<div class="alert {f:if(condition:'{preset.isAvailable}', then:'alert-success', else:'alert-danger')}">
        <div class="header-container">
                <div class="message-header">
                        <input
@@ -8,7 +8,7 @@
                                name="install[values][{feature.name}][enable]"
                                value="{preset.name}"
                                {f:if(condition:'{preset.isAvailable}', then:'', else:'disabled="disabled"')}
-                               {f:if(condition:'{preset.isActive}', then:'checked="checked"')}
+                               {f:if(condition: preset.isActive, then:'checked="checked"')}
                        />
                        <label
                                for="t3-install-tool-configuration-mail-sendmail"
                                <strong>
                                        Import sendmail command from PHP settings
                                </strong>
-                               {f:if(condition:'{preset.isActive}', then:' [Active]')}
+                               {f:if(condition: preset.isActive, then:' [Active]')}
                        </label>
                </div>
        </div>
        <div class="message-body>">
                <f:if condition="{preset.isAvailable}">
                        <f:then>
-                               If you enable this setting the sendmail command will be set to: <pre>{preset.sendmailPath}</pre>
+                               <p>If you enable this setting the sendmail command will be set to:</p>
+                               <p><pre>{preset.sendmailPath}</pre></p>
                        </f:then>
                        <f:else>
-                               Sendmail was not found in your PHP settings.
+                               <p>Sendmail was not found in your PHP settings.</p>
                        </f:else>
                </f:if>
        </div>