From d087783fe8d93416d3f17f3620b455ea48b8c413 Mon Sep 17 00:00:00 2001 From: verg Date: Tue, 18 Feb 2014 12:51:37 -0500 Subject: [PATCH] Add Save button to top of user preferences --- .../templates/user/preferences.js.handlebars | 37 +++++++++++-------- .../preferences/_save_button.js.handlebars | 2 + app/assets/stylesheets/desktop/user.scss | 4 ++ app/assets/stylesheets/mobile/user.scss | 30 ++++++++++++++- 4 files changed, 56 insertions(+), 17 deletions(-) create mode 100644 app/assets/javascripts/discourse/templates/user/preferences/_save_button.js.handlebars diff --git a/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars b/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars index b65bbd1499e..319f91bc9a8 100644 --- a/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars @@ -2,6 +2,12 @@
+
+
+ {{partial 'user/preferences/saveButton'}} +
+
+
@@ -84,13 +90,13 @@
{{#if Discourse.SiteSettings.enable_mailing_list_mode}} -
{{/if}} -
@@ -113,25 +119,27 @@
-
+
{{combobox valueAttribute="value" content=autoTrackDurations value=auto_track_topics_after_msecs}}
-
+
{{combobox valueAttribute="value" content=considerNewTopicOptions value=new_topic_duration_minutes}}
-
+
+
-