From 850e1f0733163f690e2b77a66cc42c94fe2ed4d9 Mon Sep 17 00:00:00 2001 From: Shailesh Patil Date: Fri, 15 Jun 2012 19:05:21 +0530 Subject: [PATCH 1/2] Livefyre integration --- app/views/ideas/show.html.haml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/ideas/show.html.haml b/app/views/ideas/show.html.haml index f2692d6..15580fc 100644 --- a/app/views/ideas/show.html.haml +++ b/app/views/ideas/show.html.haml @@ -1,6 +1,8 @@ - content_for :title do = @idea.title += javascript_include_tag 'http://zor.livefyre.com/wjs/v1.0/javascripts/livefyre_init.js' + .well.grid .row %h2= @idea.title @@ -22,4 +24,7 @@ .row %h6 Scheduled #{ @idea.schedules.last.try(:scheduled_at).try(:idea_date) or "soon" } - + + .row + :javascript + var fyre = LF({site_id: 305993}); From d2c38d0621923e4c8eca3085631bcf344a49c91a Mon Sep 17 00:00:00 2001 From: Shailesh Patil Date: Fri, 15 Jun 2012 20:13:03 +0530 Subject: [PATCH 2/2] changed the twitter handle --- app/views/ideas/_idea.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/ideas/_idea.html.haml b/app/views/ideas/_idea.html.haml index bfc17a9..2b9977a 100644 --- a/app/views/ideas/_idea.html.haml +++ b/app/views/ideas/_idea.html.haml @@ -17,7 +17,7 @@ =# pluralize(idea.users.count, "participant") = idea.users.count %span - = tweet_button :via => "joshideahub",:count=> "none", :url => idea_url(idea), :text => "This is an interesting idea! Help out " + = tweet_button :via => "punerb",:count=> "none", :url => idea_url(idea), :text => "This is an interesting idea! Help out " .modal{style: "display:none", id: "idea-detail-#{idea.id}"} .modal-header