From 588ab8fdfa0f9d702d1cbaf22216b36094629e8b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 6 Aug 2022 21:07:07 -0700 Subject: [PATCH] Web: in computing prefs, move swap limit to Disk section --- html/inc/prefs.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/html/inc/prefs.inc b/html/inc/prefs.inc index ccfca5aa1c..15b24f0168 100644 --- a/html/inc/prefs.inc +++ b/html/inc/prefs.inc @@ -177,13 +177,6 @@ $job_prefs = [ tra("Compute only during a particular period each day."), "start_hour", "end_hour" ), - new PREF_NUM( - tra("Page/swap file: use at most"), - tra("Limit the swap space (page file) used by BOINC."), - "vm_max_used_pct", - // xgettext:no-php-format - new NUM_SPEC(tra("%"), 1, 100, 75) - ), ]; $dp = get_disk_space_config(); @@ -208,6 +201,13 @@ $disk_prefs = array( // xgettext:no-php-format new NUM_SPEC(tra("% of total"), 0, 100, $dp->disk_max_used_pct) ), + new PREF_NUM( + tra("Page/swap file: use at most"), + tra("Limit the swap space (page file) used by BOINC."), + "vm_max_used_pct", + // xgettext:no-php-format + new NUM_SPEC(tra("%"), 1, 100, 75) + ), ); $net_prefs = array(