From f9b45dd7b86dfec64678f9cf16b37d565a3c99e4 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 5 Aug 2018 19:59:45 -0500 Subject: [PATCH] General cleanup to user preferences --- src/invidious/views/data_control.ecr | 2 +- src/invidious/views/preferences.ecr | 12 ++++++------ src/invidious/views/subscription_manager.ecr | 18 +++++++++++------- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/invidious/views/data_control.ecr b/src/invidious/views/data_control.ecr index 45d6752c..be896f86 100644 --- a/src/invidious/views/data_control.ecr +++ b/src/invidious/views/data_control.ecr @@ -13,7 +13,7 @@
-
diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index 31efce89..57e40967 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -104,15 +104,15 @@ function update_value(element) { Data preferences
- + Clear watch history
- + Import/Export data +
+ +
+ Manage subscriptions>
diff --git a/src/invidious/views/subscription_manager.ecr b/src/invidious/views/subscription_manager.ecr index b510c327..59cee9d7 100644 --- a/src/invidious/views/subscription_manager.ecr +++ b/src/invidious/views/subscription_manager.ecr @@ -14,19 +14,23 @@
<% subscriptions.each do |channel| %> -

+

-<% if subscriptions[-1].author != channel.author %> -
-<% end %> + <% if subscriptions[-1].author != channel.author %> +
+ <% end %> + <% end %> \ No newline at end of file