From c3d2b66b41e645febe145b7679ac576a97367557 Mon Sep 17 00:00:00 2001 From: Denis Sokolov Date: Wed, 23 Apr 2014 23:27:34 +0900 Subject: [PATCH] fix(profile): body size elements consistent with the rest Before this change body size selector had inconsistent code with the rest of the profile customization. This also led to an inconsistent styling of the menu label. --- views/options/profile.jade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/views/options/profile.jade b/views/options/profile.jade index 768fa4f325..4859ba0e6d 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -9,12 +9,13 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template') .col-md-4 h3=env.t('bodyBody') - h5=env.t('bodySize') - .btn-group - button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim') - button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad') - menu(type='list') + li.customize-menu + menu(label=env.t('bodySize')) + .btn-group + button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim') + button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad') + li.customize-menu menu(label=env.t('shirts')) each shirt in ['black', 'blue', 'green', 'pink', 'white', 'yellow']