Move seperator to templates

This commit is contained in:
Omar Roth 2018-01-07 11:49:48 -06:00
parent c4c1b43e5c
commit 9bfb663848
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<% content_for "header" do %>
<%= "Error" %>
<%= "Error - " %>
<% end %>
<%= error_message %>

View file

@ -9,7 +9,7 @@
<link rel="stylesheet" href="/css/grids-responsive-min.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/custom.css">
<title><%= yield_content "header" %> - Invidious</title>
<title><%= yield_content "header" %>Invidious</title>
</head>
<body>

View file

@ -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| %>
<div class="pure-g">

View file

@ -1,5 +1,5 @@
<% content_for "header" do %>
<%= video.info["title"] %>
<%= video.info["title"] + " - " %>
<% end %>
<video style="width: 100%" poster="<%= video.info.has_key?("iurlhq720") ? video.info["iurlhq720"] : video.info["iurlmq"] %>" controls>
<% if listen %>