{"action":"created","comment":{"url":"https://api.github.com/repos/washingtontrails/vms/pulls/comments/41565914","id":41565914,"diff_hunk":"@@ -215,6 +216,7 @@ var WorkPartyStatus = module.exports.WorkPartyStatus = React.createClass({\n \t\t\t);\n \t\t} else {\n \t\t\tvar register_action = wp.actions.register;\n+\t\t\tvar guest_warning = allow_guests ? '' : <h3>A My Backpack account is required. You will be asked to register or log in before you can join.</h3>;","path":"src/vms/static/app/workparty.js","position":12,"original_position":12,"commit_id":"bd6aa96a63b1132746a01de41eebf68a7ac6c7cf","original_commit_id":"bd6aa96a63b1132746a01de41eebf68a7ac6c7cf","user":{"login":"davisagli","id":49014,"avatar_url":"https://avatars.githubusercontent.com/u/49014?v=3","gravatar_id":"","url":"https://api.github.com/users/davisagli","html_url":"https://github.com/davisagli","followers_url":"https://api.github.com/users/davisagli/followers","following_url":"https://api.github.com/users/davisagli/following{/other_user}","gists_url":"https://api.github.com/users/davisagli/gists{/gist_id}","starred_url":"https://api.github.com/users/davisagli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisagli/subscriptions","organizations_url":"https://api.github.com/users/davisagli/orgs","repos_url":"https://api.github.com/users/davisagli/repos","events_url":"https://api.github.com/users/davisagli/events{/privacy}","received_events_url":"https://api.github.com/users/davisagli/received_events","type":"User","site_admin":false},"body":"We should only show this message for logged-out users.","created_at":"2015-10-08T20:41:33Z","updated_at":"2015-10-08T20:41:33Z","html_url":"https://github.com/washingtontrails/vms/pull/304#discussion_r41565914","pull_request_url":"https://api.github.com/repos/washingtontrails/vms/pulls/304","_links":{"self":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/comments/41565914"},"html":{"href":"https://github.com/washingtontrails/vms/pull/304#discussion_r41565914"},"pull_request":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/304"}}},"pull_request":{"url":"https://api.github.com/repos/washingtontrails/vms/pulls/304","id":47098509,"html_url":"https://github.com/washingtontrails/vms/pull/304","diff_url":"https://github.com/washingtontrails/vms/pull/304.diff","patch_url":"https://github.com/washingtontrails/vms/pull/304.patch","issue_url":"https://api.github.com/repos/washingtontrails/vms/issues/304","number":304,"state":"open","locked":false,"title":"Implement story 317","user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"body":"This PR implements the 'allow_guests' functionality for work party types.\r\n\r\nIf a work party type does not allow guests, then anonymous visitors to VMS will be forwarded to My Backpack to log in or register before they are sent on to the registration page for the work party.\r\n\r\nIn addition, anonymous users will see a text description of this when viewing a work party that does not allow guest registrations.","created_at":"2015-10-08T00:12:24Z","updated_at":"2015-10-08T20:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c254b1c86399320a6fd353b66867bdb54b287a42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/washingtontrails/vms/pulls/304/commits","review_comments_url":"https://api.github.com/repos/washingtontrails/vms/pulls/304/comments","review_comment_url":"https://api.github.com/repos/washingtontrails/vms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/washingtontrails/vms/issues/304/comments","statuses_url":"https://api.github.com/repos/washingtontrails/vms/statuses/bd6aa96a63b1132746a01de41eebf68a7ac6c7cf","head":{"label":"washingtontrails:features/317-allow-guests","ref":"features/317-allow-guests","sha":"bd6aa96a63b1132746a01de41eebf68a7ac6c7cf","user":{"login":"washingtontrails","id":955676,"avatar_url":"https://avatars.githubusercontent.com/u/955676?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtontrails","html_url":"https://github.com/washingtontrails","followers_url":"https://api.github.com/users/washingtontrails/followers","following_url":"https://api.github.com/users/washingtontrails/following{/other_user}","gists_url":"https://api.github.com/users/washingtontrails/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtontrails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtontrails/subscriptions","organizations_url":"https://api.github.com/users/washingtontrails/orgs","repos_url":"https://api.github.com/users/washingtontrails/repos","events_url":"https://api.github.com/users/washingtontrails/events{/privacy}","received_events_url":"https://api.github.com/users/washingtontrails/received_events","type":"Organization","site_admin":false},"repo":{"id":29159012,"name":"vms","full_name":"washingtontrails/vms","owner":{"login":"washingtontrails","id":955676,"avatar_url":"https://avatars.githubusercontent.com/u/955676?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtontrails","html_url":"https://github.com/washingtontrails","followers_url":"https://api.github.com/users/washingtontrails/followers","following_url":"https://api.github.com/users/washingtontrails/following{/other_user}","gists_url":"https://api.github.com/users/washingtontrails/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtontrails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtontrails/subscriptions","organizations_url":"https://api.github.com/users/washingtontrails/orgs","repos_url":"https://api.github.com/users/washingtontrails/repos","events_url":"https://api.github.com/users/washingtontrails/events{/privacy}","received_events_url":"https://api.github.com/users/washingtontrails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/washingtontrails/vms","description":"Volunteer Management System","fork":false,"url":"https://api.github.com/repos/washingtontrails/vms","forks_url":"https://api.github.com/repos/washingtontrails/vms/forks","keys_url":"https://api.github.com/repos/washingtontrails/vms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/washingtontrails/vms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/washingtontrails/vms/teams","hooks_url":"https://api.github.com/repos/washingtontrails/vms/hooks","issue_events_url":"https://api.github.com/repos/washingtontrails/vms/issues/events{/number}","events_url":"https://api.github.com/repos/washingtontrails/vms/events","assignees_url":"https://api.github.com/repos/washingtontrails/vms/assignees{/user}","branches_url":"https://api.github.com/repos/washingtontrails/vms/branches{/branch}","tags_url":"https://api.github.com/repos/washingtontrails/vms/tags","blobs_url":"https://api.github.com/repos/washingtontrails/vms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/washingtontrails/vms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/washingtontrails/vms/git/refs{/sha}","trees_url":"https://api.github.com/repos/washingtontrails/vms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/washingtontrails/vms/statuses/{sha}","languages_url":"https://api.github.com/repos/washingtontrails/vms/languages","stargazers_url":"https://api.github.com/repos/washingtontrails/vms/stargazers","contributors_url":"https://api.github.com/repos/washingtontrails/vms/contributors","subscribers_url":"https://api.github.com/repos/washingtontrails/vms/subscribers","subscription_url":"https://api.github.com/repos/washingtontrails/vms/subscription","commits_url":"https://api.github.com/repos/washingtontrails/vms/commits{/sha}","git_commits_url":"https://api.github.com/repos/washingtontrails/vms/git/commits{/sha}","comments_url":"https://api.github.com/repos/washingtontrails/vms/comments{/number}","issue_comment_url":"https://api.github.com/repos/washingtontrails/vms/issues/comments{/number}","contents_url":"https://api.github.com/repos/washingtontrails/vms/contents/{+path}","compare_url":"https://api.github.com/repos/washingtontrails/vms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/washingtontrails/vms/merges","archive_url":"https://api.github.com/repos/washingtontrails/vms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/washingtontrails/vms/downloads","issues_url":"https://api.github.com/repos/washingtontrails/vms/issues{/number}","pulls_url":"https://api.github.com/repos/washingtontrails/vms/pulls{/number}","milestones_url":"https://api.github.com/repos/washingtontrails/vms/milestones{/number}","notifications_url":"https://api.github.com/repos/washingtontrails/vms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/washingtontrails/vms/labels{/name}","releases_url":"https://api.github.com/repos/washingtontrails/vms/releases{/id}","created_at":"2015-01-12T21:55:40Z","updated_at":"2015-09-10T19:29:23Z","pushed_at":"2015-10-08T19:56:58Z","git_url":"git://github.com/washingtontrails/vms.git","ssh_url":"git@github.com:washingtontrails/vms.git","clone_url":"https://github.com/washingtontrails/vms.git","svn_url":"https://github.com/washingtontrails/vms","homepage":null,"size":6624,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":102,"forks":0,"open_issues":102,"watchers":2,"default_branch":"master"}},"base":{"label":"washingtontrails:master","ref":"master","sha":"60b1043e2e856fb72f20f8c1ef172fc1250311dc","user":{"login":"washingtontrails","id":955676,"avatar_url":"https://avatars.githubusercontent.com/u/955676?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtontrails","html_url":"https://github.com/washingtontrails","followers_url":"https://api.github.com/users/washingtontrails/followers","following_url":"https://api.github.com/users/washingtontrails/following{/other_user}","gists_url":"https://api.github.com/users/washingtontrails/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtontrails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtontrails/subscriptions","organizations_url":"https://api.github.com/users/washingtontrails/orgs","repos_url":"https://api.github.com/users/washingtontrails/repos","events_url":"https://api.github.com/users/washingtontrails/events{/privacy}","received_events_url":"https://api.github.com/users/washingtontrails/received_events","type":"Organization","site_admin":false},"repo":{"id":29159012,"name":"vms","full_name":"washingtontrails/vms","owner":{"login":"washingtontrails","id":955676,"avatar_url":"https://avatars.githubusercontent.com/u/955676?v=3","gravatar_id":"","url":"https://api.github.com/users/washingtontrails","html_url":"https://github.com/washingtontrails","followers_url":"https://api.github.com/users/washingtontrails/followers","following_url":"https://api.github.com/users/washingtontrails/following{/other_user}","gists_url":"https://api.github.com/users/washingtontrails/gists{/gist_id}","starred_url":"https://api.github.com/users/washingtontrails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washingtontrails/subscriptions","organizations_url":"https://api.github.com/users/washingtontrails/orgs","repos_url":"https://api.github.com/users/washingtontrails/repos","events_url":"https://api.github.com/users/washingtontrails/events{/privacy}","received_events_url":"https://api.github.com/users/washingtontrails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/washingtontrails/vms","description":"Volunteer Management System","fork":false,"url":"https://api.github.com/repos/washingtontrails/vms","forks_url":"https://api.github.com/repos/washingtontrails/vms/forks","keys_url":"https://api.github.com/repos/washingtontrails/vms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/washingtontrails/vms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/washingtontrails/vms/teams","hooks_url":"https://api.github.com/repos/washingtontrails/vms/hooks","issue_events_url":"https://api.github.com/repos/washingtontrails/vms/issues/events{/number}","events_url":"https://api.github.com/repos/washingtontrails/vms/events","assignees_url":"https://api.github.com/repos/washingtontrails/vms/assignees{/user}","branches_url":"https://api.github.com/repos/washingtontrails/vms/branches{/branch}","tags_url":"https://api.github.com/repos/washingtontrails/vms/tags","blobs_url":"https://api.github.com/repos/washingtontrails/vms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/washingtontrails/vms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/washingtontrails/vms/git/refs{/sha}","trees_url":"https://api.github.com/repos/washingtontrails/vms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/washingtontrails/vms/statuses/{sha}","languages_url":"https://api.github.com/repos/washingtontrails/vms/languages","stargazers_url":"https://api.github.com/repos/washingtontrails/vms/stargazers","contributors_url":"https://api.github.com/repos/washingtontrails/vms/contributors","subscribers_url":"https://api.github.com/repos/washingtontrails/vms/subscribers","subscription_url":"https://api.github.com/repos/washingtontrails/vms/subscription","commits_url":"https://api.github.com/repos/washingtontrails/vms/commits{/sha}","git_commits_url":"https://api.github.com/repos/washingtontrails/vms/git/commits{/sha}","comments_url":"https://api.github.com/repos/washingtontrails/vms/comments{/number}","issue_comment_url":"https://api.github.com/repos/washingtontrails/vms/issues/comments{/number}","contents_url":"https://api.github.com/repos/washingtontrails/vms/contents/{+path}","compare_url":"https://api.github.com/repos/washingtontrails/vms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/washingtontrails/vms/merges","archive_url":"https://api.github.com/repos/washingtontrails/vms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/washingtontrails/vms/downloads","issues_url":"https://api.github.com/repos/washingtontrails/vms/issues{/number}","pulls_url":"https://api.github.com/repos/washingtontrails/vms/pulls{/number}","milestones_url":"https://api.github.com/repos/washingtontrails/vms/milestones{/number}","notifications_url":"https://api.github.com/repos/washingtontrails/vms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/washingtontrails/vms/labels{/name}","releases_url":"https://api.github.com/repos/washingtontrails/vms/releases{/id}","created_at":"2015-01-12T21:55:40Z","updated_at":"2015-09-10T19:29:23Z","pushed_at":"2015-10-08T19:56:58Z","git_url":"git://github.com/washingtontrails/vms.git","ssh_url":"git@github.com:washingtontrails/vms.git","clone_url":"https://github.com/washingtontrails/vms.git","svn_url":"https://github.com/washingtontrails/vms","homepage":null,"size":6624,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":102,"forks":0,"open_issues":102,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/304"},"html":{"href":"https://github.com/washingtontrails/vms/pull/304"},"issue":{"href":"https://api.github.com/repos/washingtontrails/vms/issues/304"},"comments":{"href":"https://api.github.com/repos/washingtontrails/vms/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/washingtontrails/vms/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/washingtontrails/vms/statuses/bd6aa96a63b1132746a01de41eebf68a7ac6c7cf"}}}}