summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@stellenticket.de>2018-01-11 11:42:58 +0100
committerMarkus Doits <markus.doits@stellenticket.de>2018-01-12 16:34:03 +0100
commit3c6d95a6d3583f57bece4586f077e4d5f5b3ec4f (patch)
tree310bb1110619cb91cb4bbfd5f09823fdcf1fa157 /app/views/layouts
parent3b029de094f58e18b955bf472ccaff93de70d3bd (diff)
downloadgitlab-ce-3c6d95a6d3583f57bece4586f077e4d5f5b3ec4f.tar.gz
remove wrong/unneeded margin of custom navigation header logo without logo text
Diffstat (limited to 'app/views/layouts')
-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"