summaryrefslogtreecommitdiff
path: root/app/views/profiles/preferences/show.html.haml
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-12 13:13:03 +0900
committerShinya Maeda <shinya@gitlab.com>2018-06-12 13:13:03 +0900
commitd7a3180d06e7b16728d4f23b1e68007c9c2f3b9a (patch)
treed111815ee462b6dd0b29af9c158d7d1abc24f505 /app/views/profiles/preferences/show.html.haml
parent644529590a263f8db215d288c2f59abbe632a09b (diff)
parent26c9d71666d0350b17431a75d8c31d0316bd7220 (diff)
downloadgitlab-ce-d7a3180d06e7b16728d4f23b1e68007c9c2f3b9a.tar.gz
Merge branch 'master' into build-chunks-on-object-storage
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r--app/views/profiles/preferences/show.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index e63e7772ba3..8f1078bd41d 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -9,13 +9,7 @@
.col-lg-8.application-theme
- Gitlab::Themes.each do |theme|
= label_tag do
- .preview{ class: theme.name.downcase }
- .preview-row
- .quadrant.one
- .quadrant.two
- .preview-row
- .quadrant.three
- .quadrant.four
+ .preview{ class: theme.css_class }
= f.radio_button :theme_id, theme.id, checked: Gitlab::Themes.for_user(@user).id == theme.id
= theme.name