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() { function makeFooter() {
return $create('div', [ return $create('div', [
$create('p', [ $create('p', [
t('linterRulesLink') + ' ',
$createLink( $createLink(
linter === 'stylelint' linter === 'stylelint'
? 'https://stylelint.io/user-guide/rules/' ? 'https://stylelint.io/user-guide/rules/'
: 'https://github.com/CSSLint/csslint/wiki/Rules-by-ID', : 'https://github.com/CSSLint/csslint/wiki/Rules-by-ID',
linterTitle), t('linterRulesLink')),
linter === 'csslint' ? ' ' + t('linterCSSLintSettings') : '', linter === 'csslint' ? ' ' + t('linterCSSLintSettings') : '',
]), ]),
$create('button.save', {onclick: save, title: 'Ctrl-Enter'}, t('styleSaveLabel')), $create('button.save', {onclick: save, title: 'Ctrl-Enter'}, t('styleSaveLabel')),