= ({
title="Autostop"
description={
<>
-
- Set how many hours should elapse after the workspace started
- before the workspace automatically shuts down. This will be
- extended by{" "}
- {dayjs
- .duration({ milliseconds: template.activity_bump_ms })
- .humanize()}{" "}
- after last activity in the workspace was detected.
-
- {!template.allow_user_autostop && (
-
-
-
- )}
+ Set how many hours should elapse after the workspace started before
+ the workspace automatically shuts down. This will be extended by{" "}
+ {dayjs
+ .duration({ milliseconds: template.activity_bump_ms })
+ .humanize()}{" "}
+ after last activity in the workspace was detected.
>
}
>
-
+
}
- label={Language.stopSwitch}
+ label={
+
+ {Language.stopSwitch}
+ {!template.allow_user_autostop && (
+
+ The template for this workspace does not allow modification
+ of autostop.
+
+ )}
+
+ }
/>