non https for hosts

This commit is contained in:
Kyle Drake 2015-02-17 18:00:00 -08:00
parent 78a5791e5a
commit 1f01baf664

View file

@ -61,7 +61,7 @@
<% site_change_filenames.each do |f| %> <% site_change_filenames.each do |f| %>
<div class="file"> <div class="file">
<div class="html-thumbnail <%= site_change_file_display_class f %>"> <div class="html-thumbnail <%= site_change_file_display_class f %>">
<a href="//<%= event_site.host %><%= f == 'index.html' ? '' : "/#{f}" %>"> <a href="http://<%= event_site.host %><%= f == 'index.html' ? '' : "/#{f}" %>">
<% if site_change_file_display_class(f) == 'html' %> <% if site_change_file_display_class(f) == 'html' %>
<img src="<%= event_site.screenshot_url(f, '210x158') %>"> <img src="<%= event_site.screenshot_url(f, '210x158') %>">
<% elsif site_change_file_display_class(f) == 'image' %> <% elsif site_change_file_display_class(f) == 'image' %>