From fa859200439d49f55468bfd8a5521950b08900d1 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Thu, 28 Nov 2013 10:18:13 +0800 Subject: [PATCH] Fixed orbit bar theme --- app/views/admin/sites/preference.html.erb | 30 +++++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/app/views/admin/sites/preference.html.erb b/app/views/admin/sites/preference.html.erb index 45d5c37b..7d7b30f6 100644 --- a/app/views/admin/sites/preference.html.erb +++ b/app/views/admin/sites/preference.html.erb @@ -153,7 +153,7 @@
- <% @site_in_use_locales.each do |valid_locale| %> + <% @site_valid_locales.each do |valid_locale| %> <%= check_box_tag "site[in_use_locales][]", valid_locale, @site.in_use_locales.include?(valid_locale), :class=>"toggle-check in_use_locales", :data => { :title => "#{I18nVariable.from_locale(valid_locale)}", disabled: true }, "data-deploy"=>"inline" %> <% end %>
@@ -177,11 +177,11 @@
-
+
<% if @site.default_image.file.present? %> <%= image_tag( @site.default_image, :size=>"120x120") rescue ''%> <% else %> - <%= image_tag "http://www.placehold.it/50x50/EFEFEF/AAAAAA",:size=>"120x120",:class => "pull-left upload-picture"%> + <%= image_tag "orbit-logo.png",:class => "pull-left upload-picture"%> <% end %>
@@ -210,7 +210,7 @@ <% if @site.favicon.file.present? %> <%= image_tag( @site.favicon, :size=>"120x120") rescue ''%> <% else %> - <%= image_tag "http://www.placehold.it/50x50/EFEFEF/AAAAAA",:size=>"120x120", :class => "pull-left upload-picture"%> + <%= image_tag "favicon.ico", :class => "pull-left upload-picture"%> <% end %>
@@ -259,6 +259,9 @@ var locales = <%= @site.in_use_locales.to_json.html_safe %>; }) delete locales; +> <% content_for :page_specific_javascript do %> -<% end %> \ No newline at end of file +<% end %> + \ No newline at end of file