Make option to enable Sone insert notifications editable.
[Sone.git] / src / main / resources / templates / options.html
index 2bf98fd..39d579f 100644 (file)
                        <%= Page.Options.Option.AutoFollow.Description|l10n|html>
                </p>
 
+               <p>
+                       <input type="checkbox" name="enable-sone-insert-notifications"<%ifnull currentSone> disabled="disabled"<%/if><%if enable-sone-insert-notifications> checked="checked"<%/if> />
+                       <%= Page.Options.Option.EnableSoneInsertNotifications.Description|l10n|html>
+               </p>
+
                <h2><%= Page.Options.Section.RuntimeOptions.Title|l10n|html></h2>
 
                <p><%= Page.Options.Option.InsertionDelay.Description|l10n|html></p>
                        </select>
                </p>
 
-               <h2><%= Page.Options.Section.RescueOptions.Title|l10n|html></h2>
-
-               <p><%= Page.Options.Option.SoneRescueMode.Description1|l10n|html></p>
-               <p><%= Page.Options.Option.SoneRescueMode.Description2|l10n|html></p>
-               <p><%= Page.Options.Option.SoneRescueMode.Description3|l10n|html></p>
-               <p><select name="sone-rescue-mode"><option disabled="disabled"><%= WebInterface.SelectBox.Choose|l10n|html></option><option value="true"<%if sone-rescue-mode> selected="selected"<%/if>><%= WebInterface.SelectBox.Yes|l10n|html></option><option value="false"<%if !sone-rescue-mode> selected="selected"<%/if>><%= WebInterface.SelectBox.No|l10n|html></option></select>
-
                <h2><%= Page.Options.Section.Cleaning.Title|l10n|html></h2>
 
                <p><%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement="<strong>"|replace needle="{/strong}" replacement="</strong>"></p>