summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-09-13 23:42:04 +0000
committerJarka Kadlecova <jarka@gitlab.com>2017-09-14 15:05:14 +0200
commitfbe66a2b218eef4d23640bb4eddc4cb7737e3c8f (patch)
treea6a4f62f47e2e1c5d44de31a34a53c7837da679d
parent0b18c47200e673a76fbadca1b1ff983200ab7832 (diff)
downloadgitlab-ce-fbe66a2b218eef4d23640bb4eddc4cb7737e3c8f.tar.gz
Merge branch 'fix_default_navigation_theme_selection' into 'master'
Fix default navigation theme selection Closes #37777 See merge request !14260
-rw-r--r--app/views/profiles/preferences/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index 69885008ecd..66d1d1e8d44 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -17,7 +17,7 @@
.preview-row
.quadrant.three
.quadrant.four
- = f.radio_button :theme_id, theme.id
+ = f.radio_button :theme_id, theme.id, checked: Gitlab::Themes.for_user(@user).id == theme.id
= theme.name
.col-sm-12