From d4ad8a5e56dc03c2fcd48cc1b054b18f8b347c74 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Wed, 6 Feb 2019 14:07:04 +0100 Subject: Project template: Fall back to GitLab logo Use gitlab-svg to provide the icons for rails, spring and express. For the new GitLab pages templates, we are falling back to the GitLab logo. --- app/assets/javascripts/projects/project_new.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/assets/javascripts/projects') diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js index 9ca1a26b3ac..d65e73a3f9c 100644 --- a/app/assets/javascripts/projects/project_new.js +++ b/app/assets/javascripts/projects/project_new.js @@ -115,35 +115,35 @@ const bindEvents = () => { const templates = { rails: { text: 'Ruby on Rails', - icon: '.template-option svg.icon-rails', + icon: '.template-option .icon-rails', }, express: { text: 'NodeJS Express', - icon: '.template-option svg.icon-node-express', + icon: '.template-option .icon-express', }, spring: { text: 'Spring', - icon: '.template-option svg.icon-java-spring', + icon: '.template-option .icon-spring', }, hugo: { text: 'Pages/Hugo', - icon: '.template-option svg.icon-pages-hugo', + icon: '.template-option .icon-hugo', }, jekyll: { text: 'Pages/Jekyll', - icon: '.template-option svg.icon-pages-jekyll', + icon: '.template-option .icon-jekyll', }, plainhtml: { text: 'Pages/Plain HTML', - icon: '.template-option svg.icon-pages-plainhtml', + icon: '.template-option .icon-plainhtml', }, gitbook: { text: 'Pages/GitBook', - icon: '.template-option svg.icon-pages-gitbook', + icon: '.template-option .icon-gitbook', }, hexo: { text: 'Pages/Hexo', - icon: '.template-option svg.icon-pages-hexo', + icon: '.template-option .icon-hexo', }, }; -- cgit v1.2.3