diff --git a/app/views/admin/sites/preference.html.erb b/app/views/admin/sites/preference.html.erb index 0b65d171a..102d18f7a 100644 --- a/app/views/admin/sites/preference.html.erb +++ b/app/views/admin/sites/preference.html.erb @@ -182,7 +182,7 @@ <% if @site.default_image %> <%= image_tag( @site.default_image, :size=>"120x120") rescue ''%> <% else %> - + <%= image_tag "default-img.png", :class => "pull-left upload-picture"%> <% end %>
@@ -191,7 +191,7 @@ <%= f.file_field :default_image, :id => "input-upload", :class => 'fileupload-new', :onchange => "document.getElementById('fu').innerHTML = this.form.fu.value = this.value;" %>Change <%= f.check_box :remove_default_image %> - Remove Favicon + Remove OrbitBar Logo <%else%> <%= f.file_field :default_image, :id => "input-upload", :class => 'fileupload-new', :onchange => "document.getElementById('fu').innerHTML = this.form.fu.value = this.value;" %>Select Image @@ -211,7 +211,7 @@ <% if @site.favicon %> <%= image_tag( @site.favicon, :size=>"120x120") rescue ''%> <% else %> - + <%= image_tag "default-img.png", :class => "pull-left upload-picture"%> <% end %> diff --git a/app/views/layouts/_meta.html.erb b/app/views/layouts/_meta.html.erb index a00bb812c..912a8f76c 100644 --- a/app/views/layouts/_meta.html.erb +++ b/app/views/layouts/_meta.html.erb @@ -1,4 +1,8 @@ +<% if @site.favicon%> + +<% else %> +<% end %> diff --git a/app/views/layouts/page_layout.html.erb b/app/views/layouts/page_layout.html.erb index 6c0fb7998..0d45f3430 100644 --- a/app/views/layouts/page_layout.html.erb +++ b/app/views/layouts/page_layout.html.erb @@ -1,6 +1,7 @@ +<%= render 'layouts/meta' %> <%= page_title(@item).html_safe %> ">