{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments/26749402","id":26749402,"diff_hunk":"@@ -0,0 +1,64 @@\n+!!! Strict","path":"app/views/layouts/peoplefinder/email.html.haml","position":1,"original_position":1,"commit_id":"91120c16e8f3887caa136c7a8c3721a58bc33cca","original_commit_id":"91120c16e8f3887caa136c7a8c3721a58bc33cca","user":{"login":"threedaymonk","id":17347,"avatar_url":"https://avatars.githubusercontent.com/u/17347?v=3","gravatar_id":"","url":"https://api.github.com/users/threedaymonk","html_url":"https://github.com/threedaymonk","followers_url":"https://api.github.com/users/threedaymonk/followers","following_url":"https://api.github.com/users/threedaymonk/following{/other_user}","gists_url":"https://api.github.com/users/threedaymonk/gists{/gist_id}","starred_url":"https://api.github.com/users/threedaymonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threedaymonk/subscriptions","organizations_url":"https://api.github.com/users/threedaymonk/orgs","repos_url":"https://api.github.com/users/threedaymonk/repos","events_url":"https://api.github.com/users/threedaymonk/events{/privacy}","received_events_url":"https://api.github.com/users/threedaymonk/received_events","type":"User","site_admin":false},"body":"If we're going to use ERB for emails (a decision I endorse), can we do so everywhere?\r\n\r\nThis might help: https://github.com/danchoi/herbalizer","created_at":"2015-03-19T12:38:10Z","updated_at":"2015-03-19T12:38:10Z","html_url":"https://github.com/ministryofjustice/peoplefinder/pull/88#discussion_r26749402","pull_request_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments/26749402"},"html":{"href":"https://github.com/ministryofjustice/peoplefinder/pull/88#discussion_r26749402"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88","id":31459928,"html_url":"https://github.com/ministryofjustice/peoplefinder/pull/88","diff_url":"https://github.com/ministryofjustice/peoplefinder/pull/88.diff","patch_url":"https://github.com/ministryofjustice/peoplefinder/pull/88.patch","issue_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/88","number":88,"state":"open","locked":false,"title":"Html emails","user":{"login":"jaikoo","id":570,"avatar_url":"https://avatars.githubusercontent.com/u/570?v=3","gravatar_id":"","url":"https://api.github.com/users/jaikoo","html_url":"https://github.com/jaikoo","followers_url":"https://api.github.com/users/jaikoo/followers","following_url":"https://api.github.com/users/jaikoo/following{/other_user}","gists_url":"https://api.github.com/users/jaikoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaikoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaikoo/subscriptions","organizations_url":"https://api.github.com/users/jaikoo/orgs","repos_url":"https://api.github.com/users/jaikoo/repos","events_url":"https://api.github.com/users/jaikoo/events{/privacy}","received_events_url":"https://api.github.com/users/jaikoo/received_events","type":"User","site_admin":false},"body":"Changed all the emails so that they're both sent as text and html. Probably could refactor the specs where I test for the occurrence of text/links in the different part types, but I'll do that another time.","created_at":"2015-03-18T18:48:31Z","updated_at":"2015-03-19T12:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db014e008922aef39e6a286006e77e0cfa641287","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/88/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/91120c16e8f3887caa136c7a8c3721a58bc33cca","head":{"label":"ministryofjustice:html_emails","ref":"html_emails","sha":"91120c16e8f3887caa136c7a8c3721a58bc33cca","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2015-03-19T12:32:12Z","pushed_at":"2015-03-19T12:32:12Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":null,"size":5945,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"eb3aaabf66b84ee8be8b5b091dc108223fc7f50d","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2015-03-19T12:32:12Z","pushed_at":"2015-03-19T12:32:12Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":null,"size":5945,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88"},"html":{"href":"https://github.com/ministryofjustice/peoplefinder/pull/88"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/88"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/91120c16e8f3887caa136c7a8c3721a58bc33cca"}}}}