{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments/85612701","pull_request_review_id":6320481,"id":85612701,"diff_hunk":"@@ -0,0 +1,19 @@\n+<article class=\"info-article\">\n+    <header class=\"info-article-header\">\n+        <div class=\"info-article-image-hero\"style=\"background-image: url('{{ article.wide_image.url }}');\"></div>","path":"python/cac_tripplanner/templates/partials/article-detail.html","position":3,"original_position":3,"commit_id":"7a4d10dd62f63317d8b9d824ed52265727a00c07","original_commit_id":"7a4d10dd62f63317d8b9d824ed52265727a00c07","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"body":"The wide image at the top of the detail view gets cut off, only showing the left half or so. Setting the height to 200px instead of 400px seems to do the trick.","created_at":"2016-10-28T21:23:26Z","updated_at":"2016-10-28T21:27:32Z","html_url":"https://github.com/azavea/cac-tripplanner/pull/566#discussion_r85612701","pull_request_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566","_links":{"self":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments/85612701"},"html":{"href":"https://github.com/azavea/cac-tripplanner/pull/566#discussion_r85612701"},"pull_request":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566"}}},"pull_request":{"url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566","id":91435721,"html_url":"https://github.com/azavea/cac-tripplanner/pull/566","diff_url":"https://github.com/azavea/cac-tripplanner/pull/566.diff","patch_url":"https://github.com/azavea/cac-tripplanner/pull/566.patch","issue_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/566","number":566,"state":"open","locked":false,"title":"Feature/learn tab","user":{"login":"KlaasH","id":6598836,"avatar_url":"https://avatars.githubusercontent.com/u/6598836?v=3","gravatar_id":"","url":"https://api.github.com/users/KlaasH","html_url":"https://github.com/KlaasH","followers_url":"https://api.github.com/users/KlaasH/followers","following_url":"https://api.github.com/users/KlaasH/following{/other_user}","gists_url":"https://api.github.com/users/KlaasH/gists{/gist_id}","starred_url":"https://api.github.com/users/KlaasH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlaasH/subscriptions","organizations_url":"https://api.github.com/users/KlaasH/orgs","repos_url":"https://api.github.com/users/KlaasH/repos","events_url":"https://api.github.com/users/KlaasH/events{/privacy}","received_events_url":"https://api.github.com/users/KlaasH/received_events","type":"User","site_admin":false},"body":"Creates the django views and templates for the article list and detail pages, i.e. the Learn tab, plus the article card in the home page.\r\n\r\nAlso replaces the placeholder article card on the home view with a random article.  Since there's no longer a \"View all\" expand-in-place link on the home view, and that was the only place that the Handlebars article template was used, I removed it and the related javascript functions.\r\n\r\nNote/question, probably for @lederer : do the pieces of Article need to change?  In the old version we had title, 'teaser', and 'content'.  The teaser was shown on the card view and content on the detail view.  Now we have 'aside' and the card views in the prototype show the first few lines of the content.  Do we need to get rid of 'teaser' and add 'aside' to the articles model?  And how do we know when to cut of the content shown on the card view?\r\n\r\nAlso on the subject of articles, the example article detail view has an image in the middle of the text, which also isn't possible without adding something to the model to specify more structure.\r\n\r\nI can make an issue for these if the answers aren't obvious.\r\n\r\nList:\r\n![articles_list](https://cloud.githubusercontent.com/assets/6598836/19819060/e254134c-9d20-11e6-9c60-ec6efae8eb51.png)\r\nDetail:\r\n![article_detail](https://cloud.githubusercontent.com/assets/6598836/19819059/e016ca84-9d20-11e6-88c8-50df12233d0e.png)\r\n\r\nResolves #543, #547, and #537.","created_at":"2016-10-28T19:12:47Z","updated_at":"2016-10-28T21:27:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed0051e0e868c6723b734309b8f0d38abfd363a2","assignee":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"assignees":[{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566/commits","review_comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566/comments","review_comment_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/566/comments","statuses_url":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/7a4d10dd62f63317d8b9d824ed52265727a00c07","head":{"label":"azavea:feature/learn-tab","ref":"feature/learn-tab","sha":"7a4d10dd62f63317d8b9d824ed52265727a00c07","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":27089530,"name":"cac-tripplanner","full_name":"azavea/cac-tripplanner","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/cac-tripplanner","description":"Clean Air Council Circuit Trip Planner and Travelshed","fork":false,"url":"https://api.github.com/repos/azavea/cac-tripplanner","forks_url":"https://api.github.com/repos/azavea/cac-tripplanner/forks","keys_url":"https://api.github.com/repos/azavea/cac-tripplanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/cac-tripplanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/cac-tripplanner/teams","hooks_url":"https://api.github.com/repos/azavea/cac-tripplanner/hooks","issue_events_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/cac-tripplanner/events","assignees_url":"https://api.github.com/repos/azavea/cac-tripplanner/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/cac-tripplanner/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/tags","blobs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/cac-tripplanner/languages","stargazers_url":"https://api.github.com/repos/azavea/cac-tripplanner/stargazers","contributors_url":"https://api.github.com/repos/azavea/cac-tripplanner/contributors","subscribers_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscribers","subscription_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscription","commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/cac-tripplanner/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/cac-tripplanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/cac-tripplanner/merges","archive_url":"https://api.github.com/repos/azavea/cac-tripplanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/cac-tripplanner/downloads","issues_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/cac-tripplanner/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/cac-tripplanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/cac-tripplanner/labels{/name}","releases_url":"https://api.github.com/repos/azavea/cac-tripplanner/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/cac-tripplanner/deployments","created_at":"2014-11-24T18:46:16Z","updated_at":"2016-10-27T18:18:50Z","pushed_at":"2016-10-28T20:14:14Z","git_url":"git://github.com/azavea/cac-tripplanner.git","ssh_url":"git@github.com:azavea/cac-tripplanner.git","clone_url":"https://github.com/azavea/cac-tripplanner.git","svn_url":"https://github.com/azavea/cac-tripplanner","homepage":"https://gophillygo.org/","size":7138,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":43,"forks":2,"open_issues":43,"watchers":3,"default_branch":"develop"}},"base":{"label":"azavea:redesign","ref":"redesign","sha":"4aa04c6b5b443232d3907280ab4108ea3576dae3","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":27089530,"name":"cac-tripplanner","full_name":"azavea/cac-tripplanner","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/cac-tripplanner","description":"Clean Air Council Circuit Trip Planner and Travelshed","fork":false,"url":"https://api.github.com/repos/azavea/cac-tripplanner","forks_url":"https://api.github.com/repos/azavea/cac-tripplanner/forks","keys_url":"https://api.github.com/repos/azavea/cac-tripplanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/cac-tripplanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/cac-tripplanner/teams","hooks_url":"https://api.github.com/repos/azavea/cac-tripplanner/hooks","issue_events_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/cac-tripplanner/events","assignees_url":"https://api.github.com/repos/azavea/cac-tripplanner/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/cac-tripplanner/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/tags","blobs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/cac-tripplanner/languages","stargazers_url":"https://api.github.com/repos/azavea/cac-tripplanner/stargazers","contributors_url":"https://api.github.com/repos/azavea/cac-tripplanner/contributors","subscribers_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscribers","subscription_url":"https://api.github.com/repos/azavea/cac-tripplanner/subscription","commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/cac-tripplanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/cac-tripplanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/cac-tripplanner/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/cac-tripplanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/cac-tripplanner/merges","archive_url":"https://api.github.com/repos/azavea/cac-tripplanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/cac-tripplanner/downloads","issues_url":"https://api.github.com/repos/azavea/cac-tripplanner/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/cac-tripplanner/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/cac-tripplanner/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/cac-tripplanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/cac-tripplanner/labels{/name}","releases_url":"https://api.github.com/repos/azavea/cac-tripplanner/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/cac-tripplanner/deployments","created_at":"2014-11-24T18:46:16Z","updated_at":"2016-10-27T18:18:50Z","pushed_at":"2016-10-28T20:14:14Z","git_url":"git://github.com/azavea/cac-tripplanner.git","ssh_url":"git@github.com:azavea/cac-tripplanner.git","clone_url":"https://github.com/azavea/cac-tripplanner.git","svn_url":"https://github.com/azavea/cac-tripplanner","homepage":"https://gophillygo.org/","size":7138,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":43,"forks":2,"open_issues":43,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566"},"html":{"href":"https://github.com/azavea/cac-tripplanner/pull/566"},"issue":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/issues/566"},"comments":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/issues/566/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/pulls/566/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/cac-tripplanner/statuses/7a4d10dd62f63317d8b9d824ed52265727a00c07"}}}}
{"actor":{"display_login":"flibbertigibbet"}}