{"action":"created","issue":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/352","repository_url":"https://api.github.com/repos/mitodl/micromasters","labels_url":"https://api.github.com/repos/mitodl/micromasters/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/mitodl/micromasters/issues/352/comments","events_url":"https://api.github.com/repos/mitodl/micromasters/issues/352/events","html_url":"https://github.com/mitodl/micromasters/pull/352","id":155581374,"number":352,"title":"Redirect to profile if the profile is not complete","user":{"login":"giocalitri","id":1005204,"avatar_url":"https://avatars.githubusercontent.com/u/1005204?v=3","gravatar_id":"","url":"https://api.github.com/users/giocalitri","html_url":"https://github.com/giocalitri","followers_url":"https://api.github.com/users/giocalitri/followers","following_url":"https://api.github.com/users/giocalitri/following{/other_user}","gists_url":"https://api.github.com/users/giocalitri/gists{/gist_id}","starred_url":"https://api.github.com/users/giocalitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giocalitri/subscriptions","organizations_url":"https://api.github.com/users/giocalitri/orgs","repos_url":"https://api.github.com/users/giocalitri/repos","events_url":"https://api.github.com/users/giocalitri/events{/privacy}","received_events_url":"https://api.github.com/users/giocalitri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitodl/micromasters/labels/Waiting%20on%20Author","name":"Waiting on Author","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"noisecapella","id":863262,"avatar_url":"https://avatars.githubusercontent.com/u/863262?v=3","gravatar_id":"","url":"https://api.github.com/users/noisecapella","html_url":"https://github.com/noisecapella","followers_url":"https://api.github.com/users/noisecapella/followers","following_url":"https://api.github.com/users/noisecapella/following{/other_user}","gists_url":"https://api.github.com/users/noisecapella/gists{/gist_id}","starred_url":"https://api.github.com/users/noisecapella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noisecapella/subscriptions","organizations_url":"https://api.github.com/users/noisecapella/orgs","repos_url":"https://api.github.com/users/noisecapella/repos","events_url":"https://api.github.com/users/noisecapella/events{/privacy}","received_events_url":"https://api.github.com/users/noisecapella/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-05-18T19:23:52Z","updated_at":"2016-05-19T13:52:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mitodl/micromasters/pulls/352","html_url":"https://github.com/mitodl/micromasters/pull/352","diff_url":"https://github.com/mitodl/micromasters/pull/352.diff","patch_url":"https://github.com/mitodl/micromasters/pull/352.patch"},"body":"#### What are the relevant tickets?\r\ncloses #227 \r\n\r\n#### What's this PR do?\r\nRedirects the user to the profile page if the profile is not complete\r\n\r\n#### Where should the reviewer start?\r\n`ui/decorators.py`\r\n\r\n#### How should this be manually tested?\r\nuncheck `Filled out` and `Agreed to terms of service` from the user profile and test that the user is redirected first to the terms of service and then to the profile.\r\n\r\n#### What GIF best describes this PR or how it makes you feel?\r\n![](http://i.giphy.com/pzC4JPfrCSY24.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/mitodl/micromasters/issues/comments/220330345","html_url":"https://github.com/mitodl/micromasters/pull/352#issuecomment-220330345","issue_url":"https://api.github.com/repos/mitodl/micromasters/issues/352","id":220330345,"user":{"login":"giocalitri","id":1005204,"avatar_url":"https://avatars.githubusercontent.com/u/1005204?v=3","gravatar_id":"","url":"https://api.github.com/users/giocalitri","html_url":"https://github.com/giocalitri","followers_url":"https://api.github.com/users/giocalitri/followers","following_url":"https://api.github.com/users/giocalitri/following{/other_user}","gists_url":"https://api.github.com/users/giocalitri/gists{/gist_id}","starred_url":"https://api.github.com/users/giocalitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giocalitri/subscriptions","organizations_url":"https://api.github.com/users/giocalitri/orgs","repos_url":"https://api.github.com/users/giocalitri/repos","events_url":"https://api.github.com/users/giocalitri/events{/privacy}","received_events_url":"https://api.github.com/users/giocalitri/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T13:52:05Z","updated_at":"2016-05-19T13:52:05Z","body":"I also I have 2 comments about this:\r\n1- if this story was about the backend and front-end, why is it only 2 points?\r\n2- I am starting to think that we should not put all the front end in a single page app"}}