diff --git a/assets/css/channel.css b/assets/css/channel.css index 660f0792..4e2b79f5 100644 --- a/assets/css/channel.css +++ b/assets/css/channel.css @@ -23,8 +23,19 @@ #link-holder { display: none; } + + #about-content-container > * { + margin-bottom: 25px; + } } +@media screen and (min-width: 640px) { + #about-content-container > * { + margin-bottom: 50px; + } +} + + #link-widget-primary { margin-right: 1.5em; } @@ -51,6 +62,8 @@ color: #e1e1e1 !important; } + + /* Featured channels page */ .channel-section details { diff --git a/locales/ar.json b/locales/ar.json index d13815de..e21a05a8 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -425,6 +425,7 @@ "next_steps_error_message": "بعد ذلك يجب أن تحاول: ", "next_steps_error_message_refresh": "تحديث", "next_steps_error_message_go_to_youtube": "انتقل إلى يوتيوب", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/el.json b/locales/el.json index 0e99950d..26a3872c 100644 --- a/locales/el.json +++ b/locales/el.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/eo.json b/locales/eo.json index 0a4a62c4..edbbecc4 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -425,6 +425,7 @@ "next_steps_error_message": "Poste, vi provu: ", "next_steps_error_message_refresh": "Reŝargi", "next_steps_error_message_go_to_youtube": "Iri al JuTubo", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/fa.json b/locales/fa.json index f1bc0945..181d7e64 100644 --- a/locales/fa.json +++ b/locales/fa.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/he.json b/locales/he.json index 4c563910..a261e49c 100644 --- a/locales/he.json +++ b/locales/he.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/is.json b/locales/is.json index f4c0ad39..1f54f35c 100644 --- a/locales/is.json +++ b/locales/is.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/it.json b/locales/it.json index b87f39ca..2738b337 100644 --- a/locales/it.json +++ b/locales/it.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/nl.json b/locales/nl.json index 93058e38..5d624ae7 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/ro.json b/locales/ro.json index a1c562f7..e0b81e1e 100644 --- a/locales/ro.json +++ b/locales/ro.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/locales/uk.json b/locales/uk.json index b7bc4ca5..1b504b34 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -425,6 +425,7 @@ "next_steps_error_message": "", "next_steps_error_message_refresh": "", "next_steps_error_message_go_to_youtube": "", + "Description": "", "Details": "", "Country: ": "", "Stats": "", diff --git a/src/invidious/views/channel/about.ecr b/src/invidious/views/channel/about.ecr index 41141607..a931121d 100644 --- a/src/invidious/views/channel/about.ecr +++ b/src/invidious/views/channel/about.ecr @@ -1,46 +1,50 @@ <% content_for "header" do %> <%= channel.author %> - Invidious + + + + <% end %> <% content_type = 5 %> <% sort_options = Tuple.new %> <%= rendered "components/channel-information" %> -
- <% stats_style_append = ""%> - <% if !channel.country.empty? %> -
-
-

<%= translate(locale, "Details") %>

-

<%= translate(locale, "Country: ") %><%=channel.country%>

-
-
- <% else %> - <% stats_style_append = "style=\"order: 1;\"" %> - <% end %> - -
> -
-

<%= translate(locale, "Stats") %>

-

<%= translate(locale, "Joined") %> - -

-

<%= channel.total_views ? translate(locale, "`x` views", number_with_separator(channel.total_views || 0)) : "" %>

-
+
+
+

<%= translate(locale, "Description") %>

+

<%= channel.description_html %>

-