Mail documentation link is clickable

closes #760

Also updating notification template missed in issue #729
This commit is contained in:
Hannah Wolfe 2013-09-16 18:34:20 +01:00
parent 2c6dd77b1d
commit e3bc0b3151
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ GhostMailer.prototype.usingSendmail = function () {
message: [
"Ghost is attempting to use your server's <b>sendmail</b> to send e-mail.",
"It is recommended that you explicitly configure an e-mail service,",
"See http://docs.ghost.org/mail for instructions"
"See <a href=\"http://docs.ghost.org/mail\">http://docs.ghost.org/mail</a> for instructions"
].join(' '),
status: 'persistent',
id: 'ghost-mail-fallback'
@ -78,7 +78,7 @@ GhostMailer.prototype.emailDisabled = function () {
type: 'warn',
message: [
"Ghost is currently unable to send e-mail.",
"See http://docs.ghost.org/mail for instructions"
"See <a href=\"http://docs.ghost.org/mail\">http://docs.ghost.org/mail</a> for instructions"
].join(' '),
status: 'persistent',
id: 'ghost-mail-disabled'

View File

@ -2,7 +2,7 @@
{{#each messages}}
<div class="js-bb-notification">
<section class="notification{{#if type}}-{{type}}{{/if}} notification-{{status}} js-notification">
{{message}}
{{{message}}}
<a class="close" href="#" data-id="{{id}}"><span class="hidden">Close</span></a>
</section>
</div>