From 79f10551644b1a4df68940f910e25bcd8cede535 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 2 Dec 2013 11:03:35 -0500 Subject: [PATCH] Fix autoclose form in category modal --- .../templates/modal/edit_category.js.handlebars | 11 ++++++++--- config/locales/client.en.yml | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars index fa59b815f1..039f3cd32c 100644 --- a/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars +++ b/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars @@ -88,9 +88,14 @@
- +
+
+ + {{i18n category.auto_close_label}} + {{textField value=auto_close_days}} + {{i18n category.auto_close_units}} +
+
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 23130ac75f..b1abf9f576 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -984,6 +984,7 @@ en: already_used: 'This color has been used by another category' security: "Security" auto_close_label: "Auto-close topics after:" + auto_close_units: "days" edit_permissions: "Edit Permissions" add_permission: "Add Permission" this_year: "this year"