{{/* Settings' Housekeeping: two groups of the Settings pattern (settings_nav.html). Status applies at once: the state in words and Pause or Resume beside it. Quiet hours are editable fields saved from the savebar; the hours are off while the switch is (settings.js). */}} {{define "housekeeping-settings"}}
{{template "hk-status" .}}

{{copy "housekeeping.settings.quiet"}}

{{copy "housekeeping.settings.quiet_hint"}}

{{copy "housekeeping.settings.hours"}}
{{template "savebar"}}
{{end}} {{define "hk-status"}}

{{copy "housekeeping.settings.status"}}

{{copy "housekeeping.settings.status_hint"}}

{{if .Paused}}{{copy "housekeeping.settings.off"}}{{else}}{{copy "housekeeping.settings.on"}}{{end}}

{{if .Paused}}{{copy "housekeeping.settings.off_desc"}} {{end}}{{copy "housekeeping.settings.activity"}}

{{if .Paused}}{{else}}{{end}}
{{end}}