From fa2de8c195f453c876c75a51871382bbca691b58 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 22 May 2014 22:39:09 +0200 Subject: [PATCH] Remove duplicate checkbox in Settings Fix issue #4964 --- app/views/users/edit.html.haml | 5 ----- app/views/users/edit.mobile.haml | 5 ----- 2 files changed, 10 deletions(-) diff --git a/app/views/users/edit.html.haml b/app/views/users/edit.html.haml index 55af40b83..dfaa91fa5 100644 --- a/app/views/users/edit.html.haml +++ b/app/views/users/edit.html.haml @@ -136,11 +136,6 @@ = type.check_box :started_sharing, {:checked => @email_prefs['started_sharing']}, false, true %br - %p.checkbox_select - = type.label :also_commented, t('.also_commented') - = type.check_box :also_commented, {:checked => @email_prefs['also_commented']}, false, true - %br - %p.checkbox_select = type.label :mentioned, t('.mentioned') = type.check_box :mentioned, {:checked => @email_prefs['mentioned']}, false, true diff --git a/app/views/users/edit.mobile.haml b/app/views/users/edit.mobile.haml index a1bbc08d6..d71ce824a 100644 --- a/app/views/users/edit.mobile.haml +++ b/app/views/users/edit.mobile.haml @@ -124,11 +124,6 @@ = type.check_box :started_sharing, {:checked => @email_prefs['started_sharing']}, false, true %br - %p.checkbox_select - = type.label :also_commented, t('.also_commented') - = type.check_box :also_commented, {:checked => @email_prefs['also_commented']}, false, true - %br - %p.checkbox_select = type.label :mentioned, t('.mentioned') = type.check_box :mentioned, {:checked => @email_prefs['mentioned']}, false, true