Skip to content

Invidious is an alternative front-end to YouTube

Move the "watch history" checkbox under the "user" section

Samantaz Fox8da336b7aa20
diff --git a/src/invidious/views/user/preferences.ecr b/src/invidious/views/user/preferences.ecr
index 1e16c5ec..a584cedb 100644
--- a/src/invidious/views/user/preferences.ecr
+++ b/src/invidious/views/user/preferences.ecr
@@ -22,11 +22,6 @@
<input name="continue" id="continue" type="checkbox" <% if preferences.continue %>checked<% end %>>
</div>
- <div class="pure-control-group">
- <label for="watch_history"><%= translate(locale, "preferences_watch_history") %></label>
- <input name="watch_history" id="watch_history" type="checkbox" <% if preferences.watch_history %>checked<% end %>>
- </div>
-
<div class="pure-control-group">
<label for="continue_autoplay"><%= translate(locale, "preferences_continue_autoplay_label") %></label>
<input name="continue_autoplay" id="continue_autoplay" type="checkbox" <% if preferences.continue_autoplay %>checked<% end %>>
@@ -211,6 +206,11 @@
<% if env.get? "user" %>
<legend><%= translate(locale, "preferences_category_subscription") %></legend>
+ <div class="pure-control-group">
+ <label for="watch_history"><%= translate(locale, "preferences_watch_history") %></label>
+ <input name="watch_history" id="watch_history" type="checkbox" <% if preferences.watch_history %>checked<% end %>>
+ </div>
+
<div class="pure-control-group">
<label for="annotations_subscribed"><%= translate(locale, "preferences_annotations_subscribed_label") %></label>
<input name="annotations_subscribed" id="annotations_subscribed" type="checkbox" <% if preferences.annotations_subscribed %>checked<% end %>>