diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-03-16 10:27:06 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:48 +0100 |
commit | 8435228a48dd7b797583a2dd68312c9e60614b2a (patch) | |
tree | d02304616066419c37dd3e9c6a36df429a8854c0 /server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js | |
parent | fe9a68f2ccd3a1a90b619f3fe0e2fae4f4d20c36 (diff) | |
download | sonarqube-8435228a48dd7b797583a2dd68312c9e60614b2a.tar.gz sonarqube-8435228a48dd7b797583a2dd68312c9e60614b2a.zip |
drop jquery, underscore, backbone and handlebars
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js b/server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js deleted file mode 100644 index 6f1d1e0f40f..00000000000 --- a/server/sonar-web/src/main/js/helpers/handlebars/testStatusIcon.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2018 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -const Handlebars = require('handlebars/runtime'); - -module.exports = function(status) { - return new Handlebars.default.SafeString( - `<i class="icon-test-status-${status.toLowerCase()}"></i>` - ); -}; |