diff --git a/assets/css/channel.css b/assets/css/channel.css index 660f0792b..4e2b79f57 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 a26814704..fdb987841 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/de.json b/locales/de.json index fcad1436c..1ba555734 100644 --- a/locales/de.json +++ b/locales/de.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 52545a666..a5017934b 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/en-US.json b/locales/en-US.json index 168caeee1..732b64916 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -425,6 +425,7 @@ "next_steps_error_message": "After which you should try to: ", "next_steps_error_message_refresh": "Refresh", "next_steps_error_message_go_to_youtube": "Go to Youtube", + "Description": "Description", "Details": "Details", "Country: ": "Country: ", "Stats": "Stats", diff --git a/locales/eo.json b/locales/eo.json index 4dcf29f40..f549a4f4b 100644 --- a/locales/eo.json +++ b/locales/eo.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/es.json b/locales/es.json index eec3bab82..86b3e4ad7 100644 --- a/locales/es.json +++ b/locales/es.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/fa.json b/locales/fa.json index 1e5e81b3d..92372b459 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/fi.json b/locales/fi.json index 871130cde..921ffff52 100644 --- a/locales/fi.json +++ b/locales/fi.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/fr.json b/locales/fr.json index c27762adf..4fdf51d75 100644 --- a/locales/fr.json +++ b/locales/fr.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 01f75d2e7..ce3606ee2 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/hr.json b/locales/hr.json index 77188b73e..25f39673d 100644 --- a/locales/hr.json +++ b/locales/hr.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/id.json b/locales/id.json index 43afced0e..89f1bb000 100644 --- a/locales/id.json +++ b/locales/id.json @@ -425,6 +425,7 @@ "next_steps_error_message": "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 2fe66e917..a938f92db 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 8719e4019..99140fd99 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/ja.json b/locales/ja.json index 50acb9f5b..3d4b952f8 100644 --- a/locales/ja.json +++ b/locales/ja.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/nb-NO.json b/locales/nb-NO.json index 85d35ec28..2a4142653 100644 --- a/locales/nb-NO.json +++ b/locales/nb-NO.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 dba8f681c..c480971a9 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/pl.json b/locales/pl.json index 4eb18fc03..9d3aa775a 100644 --- a/locales/pl.json +++ b/locales/pl.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/pt-BR.json b/locales/pt-BR.json index 8b80963c3..243080046 100644 --- a/locales/pt-BR.json +++ b/locales/pt-BR.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/pt-PT.json b/locales/pt-PT.json index 6202da301..4b4546443 100644 --- a/locales/pt-PT.json +++ b/locales/pt-PT.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 f7bc89de0..7de8d369a 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/ru.json b/locales/ru.json index 9de6ec389..344999743 100644 --- a/locales/ru.json +++ b/locales/ru.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/sv-SE.json b/locales/sv-SE.json index 459d13279..4f98d2a41 100644 --- a/locales/sv-SE.json +++ b/locales/sv-SE.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/tr.json b/locales/tr.json index 3ff8dd77a..5186145e6 100644 --- a/locales/tr.json +++ b/locales/tr.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 828614ecf..50734d859 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/locales/zh-CN.json b/locales/zh-CN.json index 2a74d398a..588920d43 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.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/zh-TW.json b/locales/zh-TW.json index 30b1ce434..64c11f7c6 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.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 411416077..a931121da 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 %>

-