From fa2b6585a1284a02001ec5107339c19e8f23ea91 Mon Sep 17 00:00:00 2001 From: Anil Wadghule Date: Fri, 8 Jun 2012 20:56:41 +0530 Subject: [PATCH 1/2] Add link to code repository. --- app/views/ideas/show.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/ideas/show.html.haml b/app/views/ideas/show.html.haml index f233eb7..f2692d6 100644 --- a/app/views/ideas/show.html.haml +++ b/app/views/ideas/show.html.haml @@ -5,6 +5,8 @@ .row %h2= @idea.title %h6= display_categories(@idea) + %h5= link_to @idea.github, @idea.github, target: '_blank' + %br .row = raw(@idea.description) From 850e1f0733163f690e2b77a66cc42c94fe2ed4d9 Mon Sep 17 00:00:00 2001 From: Shailesh Patil Date: Fri, 15 Jun 2012 19:05:21 +0530 Subject: [PATCH 2/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});