{"action":"created","comment":{"url":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments/34176464","id":34176464,"diff_hunk":"@@ -0,0 +1,23 @@\n+.panel.panel-success\n+  .panel-heading\n+    %h3.panel-title\n+      = link_to \"#{harvest.owner.login_name}'s harvest\", harvest.owner\n+      %a.pull-right{:href => edit_harvest_path(harvest), :role => \"button\"}\n+        %span.glyphicon.glyphicon-pencil{:title => \"Edit\"}\n+  .panel-body\n+    .row\n+      .col-md-6\n+        = link_to image_tag((harvest.crop.default_photo ?  harvest.crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => harvest.crop.name, :class => 'img'), harvest.crop\n+      .col-md-6\n+        %dl\n+          %dt Crop\n+          %dd= link_to harvest.crop.name, harvest.crop\n+          %dt Plant part\n+          %dd= link_to harvest.plant_part, harvest.plant_part\n+          %dt Quantity\n+          %dd= display_quantity(harvest)\n+          %dt Harvest date      \n+          %dd= harvest.harvested_at\n+  .panel-footer\n+    %dt Description\n+    %dd= harvest.description","path":"app/views/harvests/_thumbnail.html.haml","position":23,"original_position":23,"commit_id":"ea9c517b70d50950db7edc2fb18cb3b9215401b4","original_commit_id":"ea9c517b70d50950db7edc2fb18cb3b9215401b4","user":{"login":"cesy","id":570999,"avatar_url":"https://avatars.githubusercontent.com/u/570999?v=3","gravatar_id":"","url":"https://api.github.com/users/cesy","html_url":"https://github.com/cesy","followers_url":"https://api.github.com/users/cesy/followers","following_url":"https://api.github.com/users/cesy/following{/other_user}","gists_url":"https://api.github.com/users/cesy/gists{/gist_id}","starred_url":"https://api.github.com/users/cesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesy/subscriptions","organizations_url":"https://api.github.com/users/cesy/orgs","repos_url":"https://api.github.com/users/cesy/repos","events_url":"https://api.github.com/users/cesy/events{/privacy}","received_events_url":"https://api.github.com/users/cesy/received_events","type":"User","site_admin":false},"body":"Github likes a blank line at the end - can you add one, please?","created_at":"2015-07-08T17:45:30Z","updated_at":"2015-07-08T17:45:30Z","html_url":"https://github.com/Growstuff/growstuff/pull/768#discussion_r34176464","pull_request_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/768","_links":{"self":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments/34176464"},"html":{"href":"https://github.com/Growstuff/growstuff/pull/768#discussion_r34176464"},"pull_request":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/768"}}},"pull_request":{"url":"https://api.github.com/repos/Growstuff/growstuff/pulls/768","id":39445970,"html_url":"https://github.com/Growstuff/growstuff/pull/768","diff_url":"https://github.com/Growstuff/growstuff/pull/768.diff","patch_url":"https://github.com/Growstuff/growstuff/pull/768.patch","issue_url":"https://api.github.com/repos/Growstuff/growstuff/issues/768","number":768,"state":"open","locked":false,"title":"Created card based template for harvests. Issues #518 and #570","user":{"login":"GabrielSandoval","id":6015897,"avatar_url":"https://avatars.githubusercontent.com/u/6015897?v=3","gravatar_id":"","url":"https://api.github.com/users/GabrielSandoval","html_url":"https://github.com/GabrielSandoval","followers_url":"https://api.github.com/users/GabrielSandoval/followers","following_url":"https://api.github.com/users/GabrielSandoval/following{/other_user}","gists_url":"https://api.github.com/users/GabrielSandoval/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielSandoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielSandoval/subscriptions","organizations_url":"https://api.github.com/users/GabrielSandoval/orgs","repos_url":"https://api.github.com/users/GabrielSandoval/repos","events_url":"https://api.github.com/users/GabrielSandoval/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielSandoval/received_events","type":"User","site_admin":false},"body":"Hello @pozorvlak ,\r\n\r\nTo answer both issue 518 (thumbnails for harvest, seeds, gardens, etc.) and 570 (\"card\" based thumbnails), I replaced the old and dull harvests/_thumbnail partial with this new card based thumbnail.\r\n\r\nOLD /harvests/index :\r\n![screen shot 2015-07-08 at 2 39 55 pm](https://cloud.githubusercontent.com/assets/6015897/8564498/3c056a00-257f-11e5-86e5-9d9477e4265f.png)\r\n\r\nNEW /harvests/index :\r\n![screen shot 2015-07-08 at 2 20 11 pm](https://cloud.githubusercontent.com/assets/6015897/8564430/7d12cca0-257e-11e5-8018-a10cd25a8620.png)\r\n\r\nI plan to do this too for the other thumbnails. Should I push on with it?","created_at":"2015-07-08T06:41:12Z","updated_at":"2015-07-08T17:45:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97e95fd7df47b7295c42937e2a48c1dfa14a9fba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/768/commits","review_comments_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/768/comments","review_comment_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Growstuff/growstuff/issues/768/comments","statuses_url":"https://api.github.com/repos/Growstuff/growstuff/statuses/ea9c517b70d50950db7edc2fb18cb3b9215401b4","head":{"label":"GabrielSandoval:gab/harvests","ref":"gab/harvests","sha":"ea9c517b70d50950db7edc2fb18cb3b9215401b4","user":{"login":"GabrielSandoval","id":6015897,"avatar_url":"https://avatars.githubusercontent.com/u/6015897?v=3","gravatar_id":"","url":"https://api.github.com/users/GabrielSandoval","html_url":"https://github.com/GabrielSandoval","followers_url":"https://api.github.com/users/GabrielSandoval/followers","following_url":"https://api.github.com/users/GabrielSandoval/following{/other_user}","gists_url":"https://api.github.com/users/GabrielSandoval/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielSandoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielSandoval/subscriptions","organizations_url":"https://api.github.com/users/GabrielSandoval/orgs","repos_url":"https://api.github.com/users/GabrielSandoval/repos","events_url":"https://api.github.com/users/GabrielSandoval/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielSandoval/received_events","type":"User","site_admin":false},"repo":{"id":37800623,"name":"growstuff","full_name":"GabrielSandoval/growstuff","owner":{"login":"GabrielSandoval","id":6015897,"avatar_url":"https://avatars.githubusercontent.com/u/6015897?v=3","gravatar_id":"","url":"https://api.github.com/users/GabrielSandoval","html_url":"https://github.com/GabrielSandoval","followers_url":"https://api.github.com/users/GabrielSandoval/followers","following_url":"https://api.github.com/users/GabrielSandoval/following{/other_user}","gists_url":"https://api.github.com/users/GabrielSandoval/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielSandoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielSandoval/subscriptions","organizations_url":"https://api.github.com/users/GabrielSandoval/orgs","repos_url":"https://api.github.com/users/GabrielSandoval/repos","events_url":"https://api.github.com/users/GabrielSandoval/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielSandoval/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GabrielSandoval/growstuff","description":"Open data project for small-scale food growers","fork":true,"url":"https://api.github.com/repos/GabrielSandoval/growstuff","forks_url":"https://api.github.com/repos/GabrielSandoval/growstuff/forks","keys_url":"https://api.github.com/repos/GabrielSandoval/growstuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GabrielSandoval/growstuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GabrielSandoval/growstuff/teams","hooks_url":"https://api.github.com/repos/GabrielSandoval/growstuff/hooks","issue_events_url":"https://api.github.com/repos/GabrielSandoval/growstuff/issues/events{/number}","events_url":"https://api.github.com/repos/GabrielSandoval/growstuff/events","assignees_url":"https://api.github.com/repos/GabrielSandoval/growstuff/assignees{/user}","branches_url":"https://api.github.com/repos/GabrielSandoval/growstuff/branches{/branch}","tags_url":"https://api.github.com/repos/GabrielSandoval/growstuff/tags","blobs_url":"https://api.github.com/repos/GabrielSandoval/growstuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GabrielSandoval/growstuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GabrielSandoval/growstuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/GabrielSandoval/growstuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GabrielSandoval/growstuff/statuses/{sha}","languages_url":"https://api.github.com/repos/GabrielSandoval/growstuff/languages","stargazers_url":"https://api.github.com/repos/GabrielSandoval/growstuff/stargazers","contributors_url":"https://api.github.com/repos/GabrielSandoval/growstuff/contributors","subscribers_url":"https://api.github.com/repos/GabrielSandoval/growstuff/subscribers","subscription_url":"https://api.github.com/repos/GabrielSandoval/growstuff/subscription","commits_url":"https://api.github.com/repos/GabrielSandoval/growstuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/GabrielSandoval/growstuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/GabrielSandoval/growstuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/GabrielSandoval/growstuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/GabrielSandoval/growstuff/contents/{+path}","compare_url":"https://api.github.com/repos/GabrielSandoval/growstuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GabrielSandoval/growstuff/merges","archive_url":"https://api.github.com/repos/GabrielSandoval/growstuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GabrielSandoval/growstuff/downloads","issues_url":"https://api.github.com/repos/GabrielSandoval/growstuff/issues{/number}","pulls_url":"https://api.github.com/repos/GabrielSandoval/growstuff/pulls{/number}","milestones_url":"https://api.github.com/repos/GabrielSandoval/growstuff/milestones{/number}","notifications_url":"https://api.github.com/repos/GabrielSandoval/growstuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GabrielSandoval/growstuff/labels{/name}","releases_url":"https://api.github.com/repos/GabrielSandoval/growstuff/releases{/id}","created_at":"2015-06-21T07:26:31Z","updated_at":"2015-06-21T07:26:33Z","pushed_at":"2015-07-08T06:31:24Z","git_url":"git://github.com/GabrielSandoval/growstuff.git","ssh_url":"git@github.com:GabrielSandoval/growstuff.git","clone_url":"https://github.com/GabrielSandoval/growstuff.git","svn_url":"https://github.com/GabrielSandoval/growstuff","homepage":"http://growstuff.org/","size":5791,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Growstuff:dev","ref":"dev","sha":"f11c1b3d5433d0dfdd84ed2fa328d169e670a20e","user":{"login":"Growstuff","id":2066469,"avatar_url":"https://avatars.githubusercontent.com/u/2066469?v=3","gravatar_id":"","url":"https://api.github.com/users/Growstuff","html_url":"https://github.com/Growstuff","followers_url":"https://api.github.com/users/Growstuff/followers","following_url":"https://api.github.com/users/Growstuff/following{/other_user}","gists_url":"https://api.github.com/users/Growstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/Growstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Growstuff/subscriptions","organizations_url":"https://api.github.com/users/Growstuff/orgs","repos_url":"https://api.github.com/users/Growstuff/repos","events_url":"https://api.github.com/users/Growstuff/events{/privacy}","received_events_url":"https://api.github.com/users/Growstuff/received_events","type":"Organization","site_admin":false},"repo":{"id":5337437,"name":"growstuff","full_name":"Growstuff/growstuff","owner":{"login":"Growstuff","id":2066469,"avatar_url":"https://avatars.githubusercontent.com/u/2066469?v=3","gravatar_id":"","url":"https://api.github.com/users/Growstuff","html_url":"https://github.com/Growstuff","followers_url":"https://api.github.com/users/Growstuff/followers","following_url":"https://api.github.com/users/Growstuff/following{/other_user}","gists_url":"https://api.github.com/users/Growstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/Growstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Growstuff/subscriptions","organizations_url":"https://api.github.com/users/Growstuff/orgs","repos_url":"https://api.github.com/users/Growstuff/repos","events_url":"https://api.github.com/users/Growstuff/events{/privacy}","received_events_url":"https://api.github.com/users/Growstuff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Growstuff/growstuff","description":"Open data project for small-scale food growers","fork":false,"url":"https://api.github.com/repos/Growstuff/growstuff","forks_url":"https://api.github.com/repos/Growstuff/growstuff/forks","keys_url":"https://api.github.com/repos/Growstuff/growstuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Growstuff/growstuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Growstuff/growstuff/teams","hooks_url":"https://api.github.com/repos/Growstuff/growstuff/hooks","issue_events_url":"https://api.github.com/repos/Growstuff/growstuff/issues/events{/number}","events_url":"https://api.github.com/repos/Growstuff/growstuff/events","assignees_url":"https://api.github.com/repos/Growstuff/growstuff/assignees{/user}","branches_url":"https://api.github.com/repos/Growstuff/growstuff/branches{/branch}","tags_url":"https://api.github.com/repos/Growstuff/growstuff/tags","blobs_url":"https://api.github.com/repos/Growstuff/growstuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Growstuff/growstuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Growstuff/growstuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/Growstuff/growstuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Growstuff/growstuff/statuses/{sha}","languages_url":"https://api.github.com/repos/Growstuff/growstuff/languages","stargazers_url":"https://api.github.com/repos/Growstuff/growstuff/stargazers","contributors_url":"https://api.github.com/repos/Growstuff/growstuff/contributors","subscribers_url":"https://api.github.com/repos/Growstuff/growstuff/subscribers","subscription_url":"https://api.github.com/repos/Growstuff/growstuff/subscription","commits_url":"https://api.github.com/repos/Growstuff/growstuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/Growstuff/growstuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/Growstuff/growstuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/Growstuff/growstuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/Growstuff/growstuff/contents/{+path}","compare_url":"https://api.github.com/repos/Growstuff/growstuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Growstuff/growstuff/merges","archive_url":"https://api.github.com/repos/Growstuff/growstuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Growstuff/growstuff/downloads","issues_url":"https://api.github.com/repos/Growstuff/growstuff/issues{/number}","pulls_url":"https://api.github.com/repos/Growstuff/growstuff/pulls{/number}","milestones_url":"https://api.github.com/repos/Growstuff/growstuff/milestones{/number}","notifications_url":"https://api.github.com/repos/Growstuff/growstuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Growstuff/growstuff/labels{/name}","releases_url":"https://api.github.com/repos/Growstuff/growstuff/releases{/id}","created_at":"2012-08-08T05:13:37Z","updated_at":"2015-07-08T11:48:25Z","pushed_at":"2015-07-08T16:54:30Z","git_url":"git://github.com/Growstuff/growstuff.git","ssh_url":"git@github.com:Growstuff/growstuff.git","clone_url":"https://github.com/Growstuff/growstuff.git","svn_url":"https://github.com/Growstuff/growstuff","homepage":"http://growstuff.org/","size":8409,"stargazers_count":151,"watchers_count":151,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":175,"forks":110,"open_issues":175,"watchers":151,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/768"},"html":{"href":"https://github.com/Growstuff/growstuff/pull/768"},"issue":{"href":"https://api.github.com/repos/Growstuff/growstuff/issues/768"},"comments":{"href":"https://api.github.com/repos/Growstuff/growstuff/issues/768/comments"},"review_comments":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/768/comments"},"review_comment":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/768/commits"},"statuses":{"href":"https://api.github.com/repos/Growstuff/growstuff/statuses/ea9c517b70d50950db7edc2fb18cb3b9215401b4"}}}}