{"action":"created","comment":{"url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/comments/133564106","pull_request_review_id":56761084,"id":133564106,"diff_hunk":"@@ -344,6 +344,25 @@ export default {\n             my_projects: `My OSF Projects`,\n             headline: `On the OSF`,\n         },\n+        'preprint-status-banner': {\n+            message: {\n+                base: `{{name}} uses {{reviewsWorkflow}}, therefore this preprint is`,","path":"app/locales/en/translations.js","position":6,"original_position":6,"commit_id":"70965ca156784d33be1271a2085cb2f6497bf2f6","original_commit_id":"19cb5da6f20f7220d7c641a052dbc3398f1511f0","user":{"login":"laurenbarker","id":7131985,"avatar_url":"https://avatars3.githubusercontent.com/u/7131985?v=4","gravatar_id":"","url":"https://api.github.com/users/laurenbarker","html_url":"https://github.com/laurenbarker","followers_url":"https://api.github.com/users/laurenbarker/followers","following_url":"https://api.github.com/users/laurenbarker/following{/other_user}","gists_url":"https://api.github.com/users/laurenbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/laurenbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurenbarker/subscriptions","organizations_url":"https://api.github.com/users/laurenbarker/orgs","repos_url":"https://api.github.com/users/laurenbarker/repos","events_url":"https://api.github.com/users/laurenbarker/events{/privacy}","received_events_url":"https://api.github.com/users/laurenbarker/received_events","type":"User","site_admin":false},"body":"The way it is right now, the second half of the content is displayed in multiple places and it's easier to keep that consistent if both places reference the same string. If there is a point where the language changes significantly then the strings and the templates would need to be updated but it would still be very simple.","created_at":"2017-08-16T20:54:06Z","updated_at":"2017-08-16T20:54:07Z","html_url":"https://github.com/chrisseto/ember-preprints/pull/1#discussion_r133564106","pull_request_url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/comments/133564106"},"html":{"href":"https://github.com/chrisseto/ember-preprints/pull/1#discussion_r133564106"},"pull_request":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1","id":135415287,"html_url":"https://github.com/chrisseto/ember-preprints/pull/1","diff_url":"https://github.com/chrisseto/ember-preprints/pull/1.diff","patch_url":"https://github.com/chrisseto/ember-preprints/pull/1.patch","issue_url":"https://api.github.com/repos/chrisseto/ember-preprints/issues/1","number":1,"state":"open","locked":false,"title":"[MOD-57][Feature] Add preprint status banner","user":{"login":"laurenbarker","id":7131985,"avatar_url":"https://avatars3.githubusercontent.com/u/7131985?v=4","gravatar_id":"","url":"https://api.github.com/users/laurenbarker","html_url":"https://github.com/laurenbarker","followers_url":"https://api.github.com/users/laurenbarker/followers","following_url":"https://api.github.com/users/laurenbarker/following{/other_user}","gists_url":"https://api.github.com/users/laurenbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/laurenbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurenbarker/subscriptions","organizations_url":"https://api.github.com/users/laurenbarker/orgs","repos_url":"https://api.github.com/users/laurenbarker/repos","events_url":"https://api.github.com/users/laurenbarker/events{/privacy}","received_events_url":"https://api.github.com/users/laurenbarker/received_events","type":"User","site_admin":false},"body":"## TODO\r\n- [x] Add language to translation file\r\n- [x] Use variable for \"preprint\"\r\n- [x] Add aria labels\r\n\r\n## Ticket\r\n\r\nhttps://openscience.atlassian.net/browse/MOD-57\r\n\r\n## Purpose\r\n\r\nAdd preprint status banner to the preprint detail page.\r\n\r\n## Changes\r\n\r\nAdded `preprint-status-banner` component.\r\n![screen shot 2017-08-10 at 1 58 45 pm](https://user-images.githubusercontent.com/7131985/29231076-c9d7c1a4-7eb3-11e7-98a2-a436b9f53aac.png)\r\n![screen shot 2017-08-10 at 2 06 35 pm](https://user-images.githubusercontent.com/7131985/29231077-c9dd237e-7eb3-11e7-989c-50740fbe3b59.png)\r\n![screen shot 2017-08-10 at 2 08 21 pm](https://user-images.githubusercontent.com/7131985/29231080-c9ed0cb2-7eb3-11e7-9f14-ceeb2597f97f.png)\r\n![screen shot 2017-08-10 at 2 17 56 pm](https://user-images.githubusercontent.com/7131985/29231079-c9e40e50-7eb3-11e7-94ea-3174da76092f.png)\r\n![screen shot 2017-08-11 at 4 39 44 pm](https://user-images.githubusercontent.com/7131985/29231078-c9e20114-7eb3-11e7-9a54-910eea865b43.png)\r\n![screen shot 2017-08-14 at 10 19 25 am](https://user-images.githubusercontent.com/7131985/29276001-23bd8edc-80db-11e7-8530-d51270d71901.png)\r\n\r\n## Side effects\r\n\r\nNone\r\n\r\n\r\n\r\n","created_at":"2017-08-11T20:42:59Z","updated_at":"2017-08-16T20:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4f750d81869a9826e25736609c2672eb93cb9ae","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chrisseto/ember-preprints/issues/1/comments","statuses_url":"https://api.github.com/repos/chrisseto/ember-preprints/statuses/70965ca156784d33be1271a2085cb2f6497bf2f6","head":{"label":"laurenbarker:feature/preprint-status","ref":"feature/preprint-status","sha":"70965ca156784d33be1271a2085cb2f6497bf2f6","user":{"login":"laurenbarker","id":7131985,"avatar_url":"https://avatars3.githubusercontent.com/u/7131985?v=4","gravatar_id":"","url":"https://api.github.com/users/laurenbarker","html_url":"https://github.com/laurenbarker","followers_url":"https://api.github.com/users/laurenbarker/followers","following_url":"https://api.github.com/users/laurenbarker/following{/other_user}","gists_url":"https://api.github.com/users/laurenbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/laurenbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurenbarker/subscriptions","organizations_url":"https://api.github.com/users/laurenbarker/orgs","repos_url":"https://api.github.com/users/laurenbarker/repos","events_url":"https://api.github.com/users/laurenbarker/events{/privacy}","received_events_url":"https://api.github.com/users/laurenbarker/received_events","type":"User","site_admin":false},"repo":{"id":99723785,"name":"ember-preprints","full_name":"laurenbarker/ember-preprints","owner":{"login":"laurenbarker","id":7131985,"avatar_url":"https://avatars3.githubusercontent.com/u/7131985?v=4","gravatar_id":"","url":"https://api.github.com/users/laurenbarker","html_url":"https://github.com/laurenbarker","followers_url":"https://api.github.com/users/laurenbarker/followers","following_url":"https://api.github.com/users/laurenbarker/following{/other_user}","gists_url":"https://api.github.com/users/laurenbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/laurenbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurenbarker/subscriptions","organizations_url":"https://api.github.com/users/laurenbarker/orgs","repos_url":"https://api.github.com/users/laurenbarker/repos","events_url":"https://api.github.com/users/laurenbarker/events{/privacy}","received_events_url":"https://api.github.com/users/laurenbarker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laurenbarker/ember-preprints","description":"This is the codebase for OSF Preprints, the open preprint repository network","fork":true,"url":"https://api.github.com/repos/laurenbarker/ember-preprints","forks_url":"https://api.github.com/repos/laurenbarker/ember-preprints/forks","keys_url":"https://api.github.com/repos/laurenbarker/ember-preprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laurenbarker/ember-preprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laurenbarker/ember-preprints/teams","hooks_url":"https://api.github.com/repos/laurenbarker/ember-preprints/hooks","issue_events_url":"https://api.github.com/repos/laurenbarker/ember-preprints/issues/events{/number}","events_url":"https://api.github.com/repos/laurenbarker/ember-preprints/events","assignees_url":"https://api.github.com/repos/laurenbarker/ember-preprints/assignees{/user}","branches_url":"https://api.github.com/repos/laurenbarker/ember-preprints/branches{/branch}","tags_url":"https://api.github.com/repos/laurenbarker/ember-preprints/tags","blobs_url":"https://api.github.com/repos/laurenbarker/ember-preprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laurenbarker/ember-preprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laurenbarker/ember-preprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/laurenbarker/ember-preprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laurenbarker/ember-preprints/statuses/{sha}","languages_url":"https://api.github.com/repos/laurenbarker/ember-preprints/languages","stargazers_url":"https://api.github.com/repos/laurenbarker/ember-preprints/stargazers","contributors_url":"https://api.github.com/repos/laurenbarker/ember-preprints/contributors","subscribers_url":"https://api.github.com/repos/laurenbarker/ember-preprints/subscribers","subscription_url":"https://api.github.com/repos/laurenbarker/ember-preprints/subscription","commits_url":"https://api.github.com/repos/laurenbarker/ember-preprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/laurenbarker/ember-preprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/laurenbarker/ember-preprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/laurenbarker/ember-preprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/laurenbarker/ember-preprints/contents/{+path}","compare_url":"https://api.github.com/repos/laurenbarker/ember-preprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laurenbarker/ember-preprints/merges","archive_url":"https://api.github.com/repos/laurenbarker/ember-preprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laurenbarker/ember-preprints/downloads","issues_url":"https://api.github.com/repos/laurenbarker/ember-preprints/issues{/number}","pulls_url":"https://api.github.com/repos/laurenbarker/ember-preprints/pulls{/number}","milestones_url":"https://api.github.com/repos/laurenbarker/ember-preprints/milestones{/number}","notifications_url":"https://api.github.com/repos/laurenbarker/ember-preprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laurenbarker/ember-preprints/labels{/name}","releases_url":"https://api.github.com/repos/laurenbarker/ember-preprints/releases{/id}","deployments_url":"https://api.github.com/repos/laurenbarker/ember-preprints/deployments","created_at":"2017-08-08T18:25:28Z","updated_at":"2017-08-08T18:25:30Z","pushed_at":"2017-08-16T20:51:04Z","git_url":"git://github.com/laurenbarker/ember-preprints.git","ssh_url":"git@github.com:laurenbarker/ember-preprints.git","clone_url":"https://github.com/laurenbarker/ember-preprints.git","svn_url":"https://github.com/laurenbarker/ember-preprints","homepage":"https://osf.io/preprints/","size":18718,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"feature/reviews"}},"base":{"label":"chrisseto:feature/reviews","ref":"feature/reviews","sha":"22f8daa18023ccb047e917bab7dff30532715f5c","user":{"login":"chrisseto","id":5532905,"avatar_url":"https://avatars2.githubusercontent.com/u/5532905?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisseto","html_url":"https://github.com/chrisseto","followers_url":"https://api.github.com/users/chrisseto/followers","following_url":"https://api.github.com/users/chrisseto/following{/other_user}","gists_url":"https://api.github.com/users/chrisseto/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseto/subscriptions","organizations_url":"https://api.github.com/users/chrisseto/orgs","repos_url":"https://api.github.com/users/chrisseto/repos","events_url":"https://api.github.com/users/chrisseto/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseto/received_events","type":"User","site_admin":false},"repo":{"id":66083322,"name":"ember-preprints","full_name":"chrisseto/ember-preprints","owner":{"login":"chrisseto","id":5532905,"avatar_url":"https://avatars2.githubusercontent.com/u/5532905?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisseto","html_url":"https://github.com/chrisseto","followers_url":"https://api.github.com/users/chrisseto/followers","following_url":"https://api.github.com/users/chrisseto/following{/other_user}","gists_url":"https://api.github.com/users/chrisseto/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseto/subscriptions","organizations_url":"https://api.github.com/users/chrisseto/orgs","repos_url":"https://api.github.com/users/chrisseto/repos","events_url":"https://api.github.com/users/chrisseto/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisseto/ember-preprints","description":null,"fork":true,"url":"https://api.github.com/repos/chrisseto/ember-preprints","forks_url":"https://api.github.com/repos/chrisseto/ember-preprints/forks","keys_url":"https://api.github.com/repos/chrisseto/ember-preprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisseto/ember-preprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisseto/ember-preprints/teams","hooks_url":"https://api.github.com/repos/chrisseto/ember-preprints/hooks","issue_events_url":"https://api.github.com/repos/chrisseto/ember-preprints/issues/events{/number}","events_url":"https://api.github.com/repos/chrisseto/ember-preprints/events","assignees_url":"https://api.github.com/repos/chrisseto/ember-preprints/assignees{/user}","branches_url":"https://api.github.com/repos/chrisseto/ember-preprints/branches{/branch}","tags_url":"https://api.github.com/repos/chrisseto/ember-preprints/tags","blobs_url":"https://api.github.com/repos/chrisseto/ember-preprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisseto/ember-preprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisseto/ember-preprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisseto/ember-preprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisseto/ember-preprints/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisseto/ember-preprints/languages","stargazers_url":"https://api.github.com/repos/chrisseto/ember-preprints/stargazers","contributors_url":"https://api.github.com/repos/chrisseto/ember-preprints/contributors","subscribers_url":"https://api.github.com/repos/chrisseto/ember-preprints/subscribers","subscription_url":"https://api.github.com/repos/chrisseto/ember-preprints/subscription","commits_url":"https://api.github.com/repos/chrisseto/ember-preprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisseto/ember-preprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisseto/ember-preprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisseto/ember-preprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisseto/ember-preprints/contents/{+path}","compare_url":"https://api.github.com/repos/chrisseto/ember-preprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisseto/ember-preprints/merges","archive_url":"https://api.github.com/repos/chrisseto/ember-preprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisseto/ember-preprints/downloads","issues_url":"https://api.github.com/repos/chrisseto/ember-preprints/issues{/number}","pulls_url":"https://api.github.com/repos/chrisseto/ember-preprints/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisseto/ember-preprints/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisseto/ember-preprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisseto/ember-preprints/labels{/name}","releases_url":"https://api.github.com/repos/chrisseto/ember-preprints/releases{/id}","deployments_url":"https://api.github.com/repos/chrisseto/ember-preprints/deployments","created_at":"2016-08-19T13:12:50Z","updated_at":"2016-08-19T13:12:51Z","pushed_at":"2017-08-16T20:51:06Z","git_url":"git://github.com/chrisseto/ember-preprints.git","ssh_url":"git@github.com:chrisseto/ember-preprints.git","clone_url":"https://github.com/chrisseto/ember-preprints.git","svn_url":"https://github.com/chrisseto/ember-preprints","homepage":null,"size":19046,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"feature/reviews"}},"_links":{"self":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1"},"html":{"href":"https://github.com/chrisseto/ember-preprints/pull/1"},"issue":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/issues/1"},"comments":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chrisseto/ember-preprints/statuses/70965ca156784d33be1271a2085cb2f6497bf2f6"}}}}
{"actor":{"display_login":"laurenbarker"}}