drop linter name from "see all rules" and make it a link
This commit is contained in:
parent
d998fb235a
commit
ebef35c28c
|
@ -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')),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user