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
path: root/app/views
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@stellenticket.de>2018-01-11 13:42:58 +0300
committerMarkus Doits <markus.doits@stellenticket.de>2018-01-12 18:34:03 +0300
commit3c6d95a6d3583f57bece4586f077e4d5f5b3ec4f (patch)
tree310bb1110619cb91cb4bbfd5f09823fdcf1fa157 /app/views
parent3b029de094f58e18b955bf472ccaff93de70d3bd (diff)
remove wrong/unneeded margin of custom navigation header logo without logo text
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/header/_default.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 46727811be4..e7fc83a8d04 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -6,8 +6,10 @@
%h1.title
= link_to root_path, title: 'Dashboard', id: 'logo' do
= brand_header_logo
- %span.logo-text.hidden-xs
- = brand_header_logo_type
+ - logo_text = brand_header_logo_type
+ - if logo_text.present?
+ %span.logo-text.hidden-xs
+ = logo_text
- if current_user
= render "layouts/nav/dashboard"