aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/about
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-05-23 15:29:06 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-23 20:20:48 +0200
commitfbe1259e4abbbbe7416489819b79113ab953d864 (patch)
treec85a0bc88b97ef3d0949630fc4ea86903c14278c /server/sonar-web/src/main/js/apps/about
parent11c567859c646bc3202e6ca15f2c8f53e928d633 (diff)
downloadsonarqube-fbe1259e4abbbbe7416489819b79113ab953d864.tar.gz
sonarqube-fbe1259e4abbbbe7416489819b79113ab953d864.zip
SONAR-10673 Stop using font for icons (#252)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about')
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutStandards.js21
1 files changed, 11 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
index a4848285d9d..b4624dc821e 100644
--- a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
+++ b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
@@ -20,6 +20,7 @@
import React from 'react';
import { Link } from 'react-router';
import ReadMore from './ReadMore';
+import TagsIcon from '../../../components/icons-components/TagsIcon';
import { translate } from '../../../helpers/l10n';
import { getRulesUrl } from '../../../helpers/urls';
@@ -52,32 +53,32 @@ export default function AboutStandards(props /*: Props */) {
<div className="spacer-top">
<ul className="list-inline">
<li>
- <Link to={getRulesUrl({ tags: 'misra' }, organization)} className="link-with-icon">
- <i className="icon-tags" />
+ <Link className="link-with-icon" to={getRulesUrl({ tags: 'misra' }, organization)}>
+ <TagsIcon />
<span className="little-spacer-left">MISRA</span>
</Link>
</li>
<li>
- <Link to={getRulesUrl({ tags: 'cert' }, organization)} className="link-with-icon">
- <i className="icon-tags" />
+ <Link className="link-with-icon" to={getRulesUrl({ tags: 'cert' }, organization)}>
+ <TagsIcon />
<span className="little-spacer-left">CERT</span>
</Link>
</li>
<li>
- <Link to={getRulesUrl({ tags: 'cwe' }, organization)} className="link-with-icon">
- <i className="icon-tags" />
+ <Link className="link-with-icon" to={getRulesUrl({ tags: 'cwe' }, organization)}>
+ <TagsIcon />
<span className="little-spacer-left">CWE</span>
</Link>
</li>
<li>
- <Link to={getRulesUrl({ tags: owaspTags }, organization)} className="link-with-icon">
- <i className="icon-tags" />
+ <Link className="link-with-icon" to={getRulesUrl({ tags: owaspTags }, organization)}>
+ <TagsIcon />
<span className="little-spacer-left">OWASP Top 10</span>
</Link>
</li>
<li>
- <Link to={getRulesUrl({ tags: sans25Tags }, organization)} className="link-with-icon">
- <i className="icon-tags" />
+ <Link className="link-with-icon" to={getRulesUrl({ tags: sans25Tags }, organization)}>
+ <TagsIcon />
<span className="little-spacer-left">SANS Top 25</span>
</Link>
</li>