{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/identity-admin/pulls/comments/42489613","id":42489613,"diff_hunk":"@@ -0,0 +1,316 @@\n+@import play.i18n._\n+@(pageTitle: String, searchQuery: String, user: User)\n+    @main(pageTitle)(searchQuery){\n+        <div class=\"row\">\n+            <div class=\"col-md-10\">\n+                <div class=\"row uneditable-fields\">\n+                    <div class=\"col-sm-2\">\n+                        <img src=\"@routes.Assets.at(\"images/darkUserIcon.svg\")\" />\n+                    </div>\n+                    <div class=\"col-sm-10\">\n+                        <h1>@user.firstName @user.lastName</h1>\n+                        <div class=\"row\">\n+                            <div class=\"col-sm-2\">\n+                                <p>@Messages.get(\"editUser.idHeader\")</p>\n+                            </div>\n+                            <div class=\"col-sm-10\">\n+                                <p>@user.id</p>\n+                            </div>\n+                        </div>\n+                        <div class=\"row\">\n+                            <div class=\"col-sm-2\">\n+                                <p>@Messages.get(\"editUser.registeredHeader\")</p>\n+                            </div>\n+                            <div class=\"col-sm-10\">\n+                                <p>\n+                                    @user.registeredDate.dayOfWeek.getAsText\n+                                    @user.registeredDate.getDayOfMonth/@user.registeredDate.getMonthOfYear/@user.registeredDate.getYear","path":"app/views/editUser.scala.html","position":27,"original_position":27,"commit_id":"74c05a4155c0061eaf0f9384741cbfe7cc49c5f1","original_commit_id":"310a093f1e8e31fdd5c4e6d40f3177e68a2511e4","user":{"login":"susiecoleman","id":6666113,"avatar_url":"https://avatars.githubusercontent.com/u/6666113?v=3","gravatar_id":"","url":"https://api.github.com/users/susiecoleman","html_url":"https://github.com/susiecoleman","followers_url":"https://api.github.com/users/susiecoleman/followers","following_url":"https://api.github.com/users/susiecoleman/following{/other_user}","gists_url":"https://api.github.com/users/susiecoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/susiecoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susiecoleman/subscriptions","organizations_url":"https://api.github.com/users/susiecoleman/orgs","repos_url":"https://api.github.com/users/susiecoleman/repos","events_url":"https://api.github.com/users/susiecoleman/events{/privacy}","received_events_url":"https://api.github.com/users/susiecoleman/received_events","type":"User","site_admin":false},"body":"There doesn't seem to be a simple way to do this, I will look into it more when removing the hardcoding of data","created_at":"2015-10-20T12:43:48Z","updated_at":"2015-10-20T12:43:48Z","html_url":"https://github.com/guardian/identity-admin/pull/37#discussion_r42489613","pull_request_url":"https://api.github.com/repos/guardian/identity-admin/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/comments/42489613"},"html":{"href":"https://github.com/guardian/identity-admin/pull/37#discussion_r42489613"},"pull_request":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/identity-admin/pulls/37","id":47906990,"html_url":"https://github.com/guardian/identity-admin/pull/37","diff_url":"https://github.com/guardian/identity-admin/pull/37.diff","patch_url":"https://github.com/guardian/identity-admin/pull/37.patch","issue_url":"https://api.github.com/repos/guardian/identity-admin/issues/37","number":37,"state":"open","locked":false,"title":"Delete an account view","user":{"login":"susiecoleman","id":6666113,"avatar_url":"https://avatars.githubusercontent.com/u/6666113?v=3","gravatar_id":"","url":"https://api.github.com/users/susiecoleman","html_url":"https://github.com/susiecoleman","followers_url":"https://api.github.com/users/susiecoleman/followers","following_url":"https://api.github.com/users/susiecoleman/following{/other_user}","gists_url":"https://api.github.com/users/susiecoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/susiecoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susiecoleman/subscriptions","organizations_url":"https://api.github.com/users/susiecoleman/orgs","repos_url":"https://api.github.com/users/susiecoleman/repos","events_url":"https://api.github.com/users/susiecoleman/events{/privacy}","received_events_url":"https://api.github.com/users/susiecoleman/received_events","type":"User","site_admin":false},"body":"Added the view for editing a user\r\n[EditUserSmall3.pdf](https://github.com/guardian/identity-admin/files/15002/EditUserSmall3.pdf)\r\n[editUserLargeScreen.pdf](https://github.com/guardian/identity-admin/files/15005/editUserLargeScreen.pdf)\r\n[EditUserSmall1.pdf](https://github.com/guardian/identity-admin/files/15004/EditUserSmall1.pdf)\r\n[EditUserSmall2.pdf](https://github.com/guardian/identity-admin/files/15003/EditUserSmall2.pdf)\r\n\r\n\r\n\r\n","created_at":"2015-10-16T12:58:17Z","updated_at":"2015-10-20T12:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ffcd0afaa39d5dbe25046edd4816c69217a8320","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/identity-admin/pulls/37/commits","review_comments_url":"https://api.github.com/repos/guardian/identity-admin/pulls/37/comments","review_comment_url":"https://api.github.com/repos/guardian/identity-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/identity-admin/issues/37/comments","statuses_url":"https://api.github.com/repos/guardian/identity-admin/statuses/74c05a4155c0061eaf0f9384741cbfe7cc49c5f1","head":{"label":"guardian:delete-an-account-view","ref":"delete-an-account-view","sha":"74c05a4155c0061eaf0f9384741cbfe7cc49c5f1","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42711981,"name":"identity-admin","full_name":"guardian/identity-admin","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/identity-admin","description":"","fork":false,"url":"https://api.github.com/repos/guardian/identity-admin","forks_url":"https://api.github.com/repos/guardian/identity-admin/forks","keys_url":"https://api.github.com/repos/guardian/identity-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/identity-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/identity-admin/teams","hooks_url":"https://api.github.com/repos/guardian/identity-admin/hooks","issue_events_url":"https://api.github.com/repos/guardian/identity-admin/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/identity-admin/events","assignees_url":"https://api.github.com/repos/guardian/identity-admin/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/identity-admin/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/identity-admin/tags","blobs_url":"https://api.github.com/repos/guardian/identity-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/identity-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/identity-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/identity-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/identity-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/identity-admin/languages","stargazers_url":"https://api.github.com/repos/guardian/identity-admin/stargazers","contributors_url":"https://api.github.com/repos/guardian/identity-admin/contributors","subscribers_url":"https://api.github.com/repos/guardian/identity-admin/subscribers","subscription_url":"https://api.github.com/repos/guardian/identity-admin/subscription","commits_url":"https://api.github.com/repos/guardian/identity-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/identity-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/identity-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/identity-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/identity-admin/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/identity-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/identity-admin/merges","archive_url":"https://api.github.com/repos/guardian/identity-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/identity-admin/downloads","issues_url":"https://api.github.com/repos/guardian/identity-admin/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/identity-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/identity-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/identity-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/identity-admin/labels{/name}","releases_url":"https://api.github.com/repos/guardian/identity-admin/releases{/id}","created_at":"2015-09-18T09:23:08Z","updated_at":"2015-10-08T10:41:59Z","pushed_at":"2015-10-20T12:42:36Z","git_url":"git://github.com/guardian/identity-admin.git","ssh_url":"git@github.com:guardian/identity-admin.git","clone_url":"https://github.com/guardian/identity-admin.git","svn_url":"https://github.com/guardian/identity-admin","homepage":null,"size":1940,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"9e92b8262d7d732cdf1199a47b03adc996bed614","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42711981,"name":"identity-admin","full_name":"guardian/identity-admin","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/identity-admin","description":"","fork":false,"url":"https://api.github.com/repos/guardian/identity-admin","forks_url":"https://api.github.com/repos/guardian/identity-admin/forks","keys_url":"https://api.github.com/repos/guardian/identity-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/identity-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/identity-admin/teams","hooks_url":"https://api.github.com/repos/guardian/identity-admin/hooks","issue_events_url":"https://api.github.com/repos/guardian/identity-admin/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/identity-admin/events","assignees_url":"https://api.github.com/repos/guardian/identity-admin/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/identity-admin/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/identity-admin/tags","blobs_url":"https://api.github.com/repos/guardian/identity-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/identity-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/identity-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/identity-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/identity-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/identity-admin/languages","stargazers_url":"https://api.github.com/repos/guardian/identity-admin/stargazers","contributors_url":"https://api.github.com/repos/guardian/identity-admin/contributors","subscribers_url":"https://api.github.com/repos/guardian/identity-admin/subscribers","subscription_url":"https://api.github.com/repos/guardian/identity-admin/subscription","commits_url":"https://api.github.com/repos/guardian/identity-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/identity-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/identity-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/identity-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/identity-admin/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/identity-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/identity-admin/merges","archive_url":"https://api.github.com/repos/guardian/identity-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/identity-admin/downloads","issues_url":"https://api.github.com/repos/guardian/identity-admin/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/identity-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/identity-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/identity-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/identity-admin/labels{/name}","releases_url":"https://api.github.com/repos/guardian/identity-admin/releases{/id}","created_at":"2015-09-18T09:23:08Z","updated_at":"2015-10-08T10:41:59Z","pushed_at":"2015-10-20T12:42:36Z","git_url":"git://github.com/guardian/identity-admin.git","ssh_url":"git@github.com:guardian/identity-admin.git","clone_url":"https://github.com/guardian/identity-admin.git","svn_url":"https://github.com/guardian/identity-admin","homepage":null,"size":1940,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/37"},"html":{"href":"https://github.com/guardian/identity-admin/pull/37"},"issue":{"href":"https://api.github.com/repos/guardian/identity-admin/issues/37"},"comments":{"href":"https://api.github.com/repos/guardian/identity-admin/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/identity-admin/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/identity-admin/statuses/74c05a4155c0061eaf0f9384741cbfe7cc49c5f1"}}}}