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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 16:38:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 16:38:27 +0300
commit18d7766e9e65a0966fd91b0959f49c96f8ad5845 (patch)
tree93bea1b4d4fb571a34ec92198d6844e481eaa7af /app/helpers
parente23e7bc48165be175d7078d5e6fee002057046fd (diff)
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/appearances_helper.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/helpers/appearances_helper.rb b/app/helpers/appearances_helper.rb
index 6dbd0f7bd7b..957c2afb6d2 100644
--- a/app/helpers/appearances_helper.rb
+++ b/app/helpers/appearances_helper.rb
@@ -14,7 +14,13 @@ module AppearancesHelper
end
def brand_image
- image_tag(current_appearance.logo_path) if current_appearance&.logo?
+ image_tag(brand_image_path, alt: brand_title, class: 'gl-w-10')
+ end
+
+ def brand_image_path
+ return current_appearance.logo_path if current_appearance&.logo?
+
+ image_path('logo.svg')
end
def brand_text