From 3532a73d59aaa0e62ed2285c2c24b1651cbd8300 Mon Sep 17 00:00:00 2001 From: thebluepotato Date: Fri, 8 Sep 2017 09:06:06 +0200 Subject: [PATCH] UI: Change the type locks to labels (#1773) * Changing the locks * Changing the locks to labels * Update index.html update chagned param * whitespaces --- src/Jackett/Content/custom.js | 8 ++++---- src/Jackett/Content/index.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Jackett/Content/custom.js b/src/Jackett/Content/custom.js index 1b1a59e59..8a81ad6d8 100644 --- a/src/Jackett/Content/custom.js +++ b/src/Jackett/Content/custom.js @@ -111,16 +111,16 @@ function reloadIndexers() { item.state = "success"; if (item.type == "public") { - item.type_icon_content = "🔓\uFE0E"; + item.type_label = "success"; } else if (item.type == "private") { - item.type_icon_content = "🔐\uFE0E"; + item.type_label = "danger"; } else if (item.type == "semi-private") { - item.type_icon_content = "🔒\uFE0E"; + item.type_label = "warning"; } else { - item.type_icon_content = ""; + item.type_label = "default"; } var main_cats_list = item.caps.filter(function(c) { diff --git a/src/Jackett/Content/index.html b/src/Jackett/Content/index.html index 7b306e507..caf811312 100644 --- a/src/Jackett/Content/index.html +++ b/src/Jackett/Content/index.html @@ -236,7 +236,7 @@ {{#each indexers}} - {{name}} {{type_icon_content}} + {{name}} {{type}}
Copy Torznab Feed @@ -287,7 +287,7 @@ {{name}} {{mains_cats}} - {{type_icon_content}} + {{type}} {{type}} {{language}} @@ -622,6 +622,6 @@ - +