From 9bfb663848e2aab7fe2fdd0c90a889222b040184 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 7 Jan 2018 11:49:48 -0600 Subject: [PATCH] Move seperator to templates --- src/views/error.ecr | 2 +- src/views/layout.ecr | 2 +- src/views/search.ecr | 2 +- src/views/watch.ecr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/error.ecr b/src/views/error.ecr index 74626dcf6..8304695dd 100644 --- a/src/views/error.ecr +++ b/src/views/error.ecr @@ -1,4 +1,4 @@ <% content_for "header" do %> -<%= "Error" %> +<%= "Error - " %> <% end %> <%= error_message %> \ No newline at end of file diff --git a/src/views/layout.ecr b/src/views/layout.ecr index 3c5897068..8a2c26b3b 100644 --- a/src/views/layout.ecr +++ b/src/views/layout.ecr @@ -9,7 +9,7 @@ - <%= yield_content "header" %> - Invidious + <%= yield_content "header" %>Invidious diff --git a/src/views/search.ecr b/src/views/search.ecr index 1b7cadc5a..c48ac3e5d 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -1,5 +1,5 @@ <% content_for "header" do %> - <%= query.size > 30 ? query[0,30] + "..." : query %> + <%= query.size > 30 ? query[0,30] + "... - " : query %> <% end %> <% videos_list.each do |video| %>
diff --git a/src/views/watch.ecr b/src/views/watch.ecr index d05e27393..df73d00d5 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -1,5 +1,5 @@ <% content_for "header" do %> -<%= video.info["title"] %> +<%= video.info["title"] + " - " %> <% end %>