Update link preview settings to be cleaner

pull/574/head
Beaudan Brown 6 years ago
parent 22df66c08f
commit 49fcb50d48

@ -1227,14 +1227,9 @@
"description": "description":
"Option to control creation and send of link previews in setting screen" "Option to control creation and send of link previews in setting screen"
}, },
"linkPreviewsDescription": {
"message":
"Previews are supported for Imgur, Instagram, Reddit, and YouTube links.",
"description":
"Additional detail provided for Link Previews option in settings screen"
},
"linkPreviewsSettingDescription": { "linkPreviewsSettingDescription": {
"message": "Enable local link previews", "message":
"Enable link previews",
"description": "Description shown for the Link Preview option " "description": "Description shown for the Link Preview option "
}, },
"spellCheckDescription": { "spellCheckDescription": {

@ -250,7 +250,6 @@
spellCheckDescription: i18n('spellCheckDescription'), spellCheckDescription: i18n('spellCheckDescription'),
blockedHeader: 'Blocked Users', blockedHeader: 'Blocked Users',
linkPreviews: i18n('linkPreviews'), linkPreviews: i18n('linkPreviews'),
linkPreviewsDescription: i18n('linkPreviewsDescription'),
linkPreviewsSettingDescription: i18n('linkPreviewsSettingDescription'), linkPreviewsSettingDescription: i18n('linkPreviewsSettingDescription'),
}; };
}, },

@ -100,15 +100,11 @@
<input type='checkbox' name='spell-check-setting' id='spell-check-setting' /> <input type='checkbox' name='spell-check-setting' id='spell-check-setting' />
<label for='spell-check-setting'>{{ spellCheckDescription }}</label> <label for='spell-check-setting'>{{ spellCheckDescription }}</label>
</div> </div>
<div class='link-preview-setting'>
<input type='checkbox' name='link-preview-setting' id='link-preview-setting' />
<label for='link-preview-setting'>{{ linkPreviewsSettingDescription }}</label>
</div>
<hr>
<h3>{{ linkPreviews }}</h3>
<div>{{ linkPreviewsDescription }}<div>
</br>
<div class='link-preview-setting'>
<input type='checkbox' name='link-preview-setting' id='link-preview-setting' />
<label for='link-preview-setting'>{{ linkPreviewsSettingDescription }}</label>
</div>
<hr> <hr>
<div class='permissions-setting'> <div class='permissions-setting'>
<h3>{{ permissions }}</h3> <h3>{{ permissions }}</h3>

Loading…
Cancel
Save