Minor formatting changes

This commit is contained in:
Omar Roth 2018-08-17 11:04:38 -05:00
parent 4760b3c6e7
commit 9a15438c71
11 changed files with 12 additions and 11 deletions

View file

@ -1866,7 +1866,8 @@ get "/api/v1/comments/:id" do |env|
env.response.content_type = "application/json" env.response.content_type = "application/json"
next {"title" => reddit_thread.title, next {"title" => reddit_thread.title,
"permalink" => reddit_thread.permalink, "permalink" => reddit_thread.permalink,
"contentHtml" => content_html}.to_json "contentHtml" => content_html,
}.to_json
end end
end end

View file

@ -55,4 +55,4 @@
<a href="/channel/<%= ucid %>?page=<%= page + 1 %>">Next page</a> <a href="/channel/<%= ucid %>?page=<%= page + 1 %>">Next page</a>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -20,4 +20,4 @@
<h5>Shared <%= recode_date(video.published) %> ago</h5> <h5>Shared <%= recode_date(video.published) %> ago</h5>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -52,4 +52,4 @@
</div> </div>
</fieldset> </fieldset>
</form> </form>
</div> </div>

View file

@ -26,4 +26,4 @@
<body> <body>
<%= rendered "components/player" %> <%= rendered "components/player" %>
</body> </body>
</html> </html>

View file

@ -4,4 +4,4 @@
<div class="h-box"> <div class="h-box">
<%= error_message %> <%= error_message %>
</div> </div>

View file

@ -39,4 +39,4 @@
<a href="/playlist?list=<%= playlist.id %>&page=<%= page + 1 %>">Next page</a> <a href="/playlist?list=<%= playlist.id %>&page=<%= page + 1 %>">Next page</a>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -144,4 +144,4 @@ function update_value(element) {
</div> </div>
</fieldset> </fieldset>
</form> </form>
</div> </div>

View file

@ -20,4 +20,4 @@
<div style="text-align:right;" class="pure-u-1 pure-u-md-1-5"> <div style="text-align:right;" class="pure-u-1 pure-u-md-1-5">
<a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a> <a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
</div> </div>
</div> </div>

View file

@ -33,4 +33,4 @@
<hr> <hr>
<% end %> <% end %>
</div> </div>
<% end %> <% end %>

View file

@ -48,4 +48,4 @@
<a href="/feed/subscriptions?max_results=<%= max_results %>&page=<%= page + 1 %>">Next page</a> <a href="/feed/subscriptions?max_results=<%= max_results %>&page=<%= page + 1 %>">Next page</a>
<% end %> <% end %>
</div> </div>
</div> </div>