Cache fixes, vk like

This commit is contained in:
magnolia-fan
2011-11-29 00:44:51 +04:00
parent 23cf09613d
commit 06f6b7a9d2
8 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
.fb-like{ "data-href" => "http://facebook.com/BeatHavenHQ", "data-send" => "false", "data-layout" => "button_count", "data-width" => "100", "data-show-faces" => "false", "data-font" => "lucida grande" }
.vk-like
#vk-like
%script{ type: "text/javascript" }
= "document.write(VK.Share.button(false, {type: \"round\", text: \"#{t('global.like')}\"}));".html_safe
= "VK.Widgets.Like(\"vk_like\", {type: \"button\", height: 20, pageUrl: \"http://beathaven.org/\", text: \"#{t('global.like')}\"})"
+1 -1
View File
@@ -10,7 +10,7 @@
%link{ rel: "search", type: "application/opensearchdescription+xml", title: "BeatHaven", href: "/opensearch.xml"}
= stylesheet_link_tag :application, cache: true
= javascript_include_tag :application, cache: true
= javascript_include_tag "http://vkontakte.ru/js/api/share.js", charset: "windows-1251"
= javascript_include_tag "http://userapi.com/js/api/openapi.js?45", charset: "windows-1251"
%body
#fb-root
.topbar-wrapper