{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1242","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1242/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1242/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1242","id":192229505,"number":1242,"title":"Registration state display fix","user":{"login":"KeirOsborn","id":4159705,"avatar_url":"https://avatars.githubusercontent.com/u/4159705?v=3","gravatar_id":"","url":"https://api.github.com/users/KeirOsborn","html_url":"https://github.com/KeirOsborn","followers_url":"https://api.github.com/users/KeirOsborn/followers","following_url":"https://api.github.com/users/KeirOsborn/following{/other_user}","gists_url":"https://api.github.com/users/KeirOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/KeirOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KeirOsborn/subscriptions","organizations_url":"https://api.github.com/users/KeirOsborn/orgs","repos_url":"https://api.github.com/users/KeirOsborn/repos","events_url":"https://api.github.com/users/KeirOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/KeirOsborn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-29T09:28:30Z","updated_at":"2016-12-09T12:17:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/1242","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1242","diff_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1242.diff","patch_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1242.patch"},"body":"Fix for issue #1186.\r\n\r\nThe key change is in app/assets/javascripts/templates/registration/details.html.haml and appears on /register on the front end. Instead of pulling through a state's abbreviation by default, the form now pulls through a state's label. Label is a new method, see app/serializers/api/state_serializer.rb that checks the localization files for the preferred way to display states.\r\n\r\nAlso made a small CSS change to accommodate the fact that state names are bigger than abbreviations. "},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments/266000974","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/1242#issuecomment-266000974","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1242","id":266000974,"user":{"login":"lin-d-hop","id":8669848,"avatar_url":"https://avatars.githubusercontent.com/u/8669848?v=3","gravatar_id":"","url":"https://api.github.com/users/lin-d-hop","html_url":"https://github.com/lin-d-hop","followers_url":"https://api.github.com/users/lin-d-hop/followers","following_url":"https://api.github.com/users/lin-d-hop/following{/other_user}","gists_url":"https://api.github.com/users/lin-d-hop/gists{/gist_id}","starred_url":"https://api.github.com/users/lin-d-hop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lin-d-hop/subscriptions","organizations_url":"https://api.github.com/users/lin-d-hop/orgs","repos_url":"https://api.github.com/users/lin-d-hop/repos","events_url":"https://api.github.com/users/lin-d-hop/events{/privacy}","received_events_url":"https://api.github.com/users/lin-d-hop/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T12:17:47Z","updated_at":"2016-12-09T12:17:47Z","body":"Hi @stveep \r\nI didn't quite follow the above sorry. Is this ready for testing?\r\nCheers :-)"}}
{"actor":{"display_login":"lin-d-hop"}}