drop linter name from "see all rules" and make it a link

This commit is contained in:
tophf 2017-12-07 01:21:05 +03:00
parent d998fb235a
commit ebef35c28c

View File

@ -445,12 +445,11 @@ function setupLinterPopup(config) {
function makeFooter() {
return $create('div', [
$create('p', [
t('linterRulesLink') + ' ',
$createLink(
linter === 'stylelint'
? 'https://stylelint.io/user-guide/rules/'
: 'https://github.com/CSSLint/csslint/wiki/Rules-by-ID',
linterTitle),
t('linterRulesLink')),
linter === 'csslint' ? ' ' + t('linterCSSLintSettings') : '',
]),
$create('button.save', {onclick: save, title: 'Ctrl-Enter'}, t('styleSaveLabel')),