diff options
author | Lukas Eipert <leipert@gitlab.com> | 2019-02-06 14:07:04 +0100 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2019-02-07 17:06:24 +0100 |
commit | d4ad8a5e56dc03c2fcd48cc1b054b18f8b347c74 (patch) | |
tree | a8988ad1cea970d513220adb030e8575537c2f93 /app/assets/javascripts/projects | |
parent | 37410a9ddf2eb90361974fd676bd0558dcad3ffa (diff) | |
download | gitlab-ce-d4ad8a5e56dc03c2fcd48cc1b054b18f8b347c74.tar.gz |
Project template: Fall back to GitLab logojlenny-AddPagesTemplates
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.
Diffstat (limited to 'app/assets/javascripts/projects')
-rw-r--r-- | app/assets/javascripts/projects/project_new.js | 16 |
1 files changed, 8 insertions, 8 deletions
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', }, }; |