Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-02-06 16:07:04 +0300
committerLukas Eipert <leipert@gitlab.com>2019-02-07 19:06:24 +0300
commitd4ad8a5e56dc03c2fcd48cc1b054b18f8b347c74 (patch)
treea8988ad1cea970d513220adb030e8575537c2f93 /app/views/projects/project_templates
parent37410a9ddf2eb90361974fd676bd0558dcad3ffa (diff)
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.
Diffstat (limited to 'app/views/projects/project_templates')
-rw-r--r--app/views/projects/project_templates/_built_in_templates.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/project_templates/_built_in_templates.html.haml b/app/views/projects/project_templates/_built_in_templates.html.haml
index 2a0ce4bd16b..6159f1c3542 100644
--- a/app/views/projects/project_templates/_built_in_templates.html.haml
+++ b/app/views/projects/project_templates/_built_in_templates.html.haml
@@ -1,7 +1,7 @@
- Gitlab::ProjectTemplate.all.each do |template|
.template-option.d-flex.align-items-center
- .logo.append-right-10
- = custom_icon(template.logo, size: 40)
+ .logo.append-right-10.px-1
+ = image_tag template.logo, size: 32, class: "btn-template-icon icon-#{template.name}"
.description
%strong
= template.title