mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +08:00
DEV: Enable and fix the 'require-iframe-title' lint
This commit is contained in:
parent
a17fa222af
commit
07dc8d20c4
@ -31,6 +31,7 @@ module.exports = {
|
|||||||
"no-unnecessary-component-helper": true,
|
"no-unnecessary-component-helper": true,
|
||||||
"no-unused-block-params": true,
|
"no-unused-block-params": true,
|
||||||
"no-unbound": true,
|
"no-unbound": true,
|
||||||
|
"require-iframe-title": true,
|
||||||
"self-closing-void-elements": true,
|
"self-closing-void-elements": true,
|
||||||
"simple-unless": true,
|
"simple-unless": true,
|
||||||
"style-concatenation": true,
|
"style-concatenation": true,
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
{{#if htmlEmpty}}
|
{{#if htmlEmpty}}
|
||||||
<p>{{i18n 'admin.email.no_result'}}</p>
|
<p>{{i18n 'admin.email.no_result'}}</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<iframe srcdoc={{model.html_content}} />
|
<iframe title={{i18n 'admin.email.html_preview'}} srcdoc={{model.html_content}} />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<pre>{{html-safe model.text_content}}</pre>
|
<pre>{{html-safe model.text_content}}</pre>
|
||||||
|
@ -3907,6 +3907,7 @@ en:
|
|||||||
format: "Format"
|
format: "Format"
|
||||||
html: "html"
|
html: "html"
|
||||||
text: "text"
|
text: "text"
|
||||||
|
html_preview: "Email Content Preview"
|
||||||
last_seen_user: "Last Seen User:"
|
last_seen_user: "Last Seen User:"
|
||||||
no_result: "No results found for summary."
|
no_result: "No results found for summary."
|
||||||
reply_key: "Reply Key"
|
reply_key: "Reply Key"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user