This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/grids/view_setups_grid.rb b/app/grids/view_setups_grid.rb | |
index ef610d7..54cdeb1 100644 | |
--- a/app/grids/view_setups_grid.rb | |
+++ b/app/grids/view_setups_grid.rb | |
@@ -32,7 +32,7 @@ class ViewSetupsGrid | |
end | |
end | |
- column(:description) do |view_setup| | |
+ column(:view) do |view_setup| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.CurebitIntegration = {}; | |
(function() { | |
CurebitIntegration.receiveMessage = function(callback) { | |
if (window.addEventListener) { | |
window.addEventListener("message", callback); | |
} else { | |
window.attachEvent("onmessage", callback) | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin close-button($size: 24px) { | |
height: $size; | |
font-size: $size; | |
line-height: $size - 2; | |
padding: 10px; | |
position: absolute; | |
right: 0; | |
text-align: center; | |
top: 0; | |
width: $size; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["c_#{controller_name}", "a_#{params[:action]}", "l_#{layout}", ("is-development" if Rails.env.development?)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
is_development = Rails.env.development? ? "is-development" : "" | |
["c_#{controller_name}", "a_#{params[:action]}", "l_#{layout}", is_development] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.assets.precompile += ['admin.js', | |
'affiliates_new.js', | |
'offers_show.js', | |
'bootstrap_offers_show.js', | |
'offers_claim.js', | |
'offers_show.css', | |
'offers_claim.css', | |
'affiliate_offers_show.css', | |
'bonobos_winter2012_theme.css', | |
'bonobos_guideshop_theme.css', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if sharing_channel == "email"%} | |
http://www.tinyprints.com/?utm_source=RAF&utm_medium=email&utm_campaign=evergreen-friendoffem-20ff&cid=SM-FAN-TP-RAF_EVERGREEN_FRIENDOFFEM_20OFF | |
{% elsif sharing_channel == "reminder" %} | |
http://www.tinyprints.com?utm_source=RAF&utm_medium=email&utm_campaign=evergreen-friendoffremem-20ff&cid=SM-FAN-TP-RAF_EVERGREEN_FRIENDOFFREMEM_20OFF | |
{% else %} | |
http://www.tinyprints.com/?utm_source=RAF&utm_medium=claimpage&utm_campaign=evergreen-claimpage-20off&cid=SM-FAN-TP-RAF_EVERGREEN_CLAIMPAGE_20OFF | |
{% endif %} | |
EXPIRED: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var json_string = JSON.stringify(js_object); | |
$.ajax({ | |
url: "//cameratag.com/videos/"+video.uuid+"/form_data.json", | |
data:{form_data: json_string}, | |
type:"get", | |
dataType: "jsonp", | |
success: function(response) { | |
return true | |
}, | |
error: function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture template1 %} | |
<div class="headline"> | |
<h1> | |
<b> | |
{% if advocate_info.sub_choice == false %} | |
Template 1 :( | |
{% elsif advocate_info.sub_choice == true %} | |
Template 1 ;) | |
{% endif %} | |
</b> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture template_split_test %}{{ "advocate_share_page_template" | split_test: "template1", "template2" }}{% endcapture %} | |
{% if template_split_test == "template1" %} | |
<div class="headline"> | |
<h1> | |
<b> | |
{% if advocate_info.sub_choice == false %} | |
Template 1 :( | |
{% elsif advocate_info.sub_choice == true %} | |
Template 1 ;) |