{"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/comments/35852410","id":35852410,"diff_hunk":"@@ -0,0 +1,35 @@\n+{% block content %}\n+\t{% if questions %}\n+\t\t{% for question in questions %}\n+\t\t<div class=\"clear-block\">\n+\t\t<h1>{{ question.question_text }}</h1>\n+\t\t\t{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}\n+\t\t\t\t<form action=\"{% url 'vote' question.id %}\" method=\"post\">\n+\t\t\t\t\t{% csrf_token %}\n+\t\t\t\t\t{% for choice in question.choice_set.all %}\n+\t\t\t\t\t    <input type=\"radio\" name=\"choice\" id=\"choice{{ forloop.counter }}\" value=\"{{ choice.id }}\" />\n+\t\t\t\t\t    <label for=\"choice{{ forloop.counter }}\">{{ choice.choice_text }}</label><br />\n+\t\t\t\t\t{% endfor %}\n+\t\t\t\t\t<input class=\"m0\" type=\"submit\" value=\"Vote\" />\n+\t\t\t\t</form>\n+\t\t\t\t<a class=\"link\" href=\"{% url 'results' question.id %}\">See Results</a>\n+\t\t\t\t</div>\n+\t\t\t\t<div class=\"clear-block\">\n+\t\t<h1>{{ question.question_text }}</h1>\n+\t\t\t{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}\n+\t\t\t\t<form action=\"{% url 'vote' question.id %}\" method=\"post\">\n+\t\t\t\t\t{% csrf_token %}\n+\t\t\t\t\t{% for choice in question.choice_set.all %}\n+\t\t\t\t\t    <input type=\"radio\" name=\"choice\" id=\"choice{{ forloop.counter }}\" value=\"{{ choice.id }}\" />\n+\t\t\t\t\t    <label for=\"choice{{ forloop.counter }}\">{{ choice.choice_text }}</label><br />\n+\t\t\t\t\t{% endfor %}\n+\t\t\t\t\t<input class=\"m0\" type=\"submit\" value=\"Vote\" />","path":"ndohyep/polls/poll_page.html","position":26,"original_position":26,"commit_id":"8742c6add8046685afae4950449b6574ae48340c","original_commit_id":"8742c6add8046685afae4950449b6574ae48340c","user":{"login":"smn","id":1065,"avatar_url":"https://avatars.githubusercontent.com/u/1065?v=3","gravatar_id":"","url":"https://api.github.com/users/smn","html_url":"https://github.com/smn","followers_url":"https://api.github.com/users/smn/followers","following_url":"https://api.github.com/users/smn/following{/other_user}","gists_url":"https://api.github.com/users/smn/gists{/gist_id}","starred_url":"https://api.github.com/users/smn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smn/subscriptions","organizations_url":"https://api.github.com/users/smn/orgs","repos_url":"https://api.github.com/users/smn/repos","events_url":"https://api.github.com/users/smn/events{/privacy}","received_events_url":"https://api.github.com/users/smn/received_events","type":"User","site_admin":false},"body":"`{% trans \"...\" %}`","created_at":"2015-07-30T09:16:13Z","updated_at":"2015-07-30T09:16:13Z","html_url":"https://github.com/praekelt/molo-ndoh-yep/pull/5#discussion_r35852410","pull_request_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/comments/35852410"},"html":{"href":"https://github.com/praekelt/molo-ndoh-yep/pull/5#discussion_r35852410"},"pull_request":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5","id":41134687,"html_url":"https://github.com/praekelt/molo-ndoh-yep/pull/5","diff_url":"https://github.com/praekelt/molo-ndoh-yep/pull/5.diff","patch_url":"https://github.com/praekelt/molo-ndoh-yep/pull/5.patch","issue_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/5","number":5,"state":"open","locked":false,"title":"Feature questions","user":{"login":"techaffinity","id":1660265,"avatar_url":"https://avatars.githubusercontent.com/u/1660265?v=3","gravatar_id":"","url":"https://api.github.com/users/techaffinity","html_url":"https://github.com/techaffinity","followers_url":"https://api.github.com/users/techaffinity/followers","following_url":"https://api.github.com/users/techaffinity/following{/other_user}","gists_url":"https://api.github.com/users/techaffinity/gists{/gist_id}","starred_url":"https://api.github.com/users/techaffinity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techaffinity/subscriptions","organizations_url":"https://api.github.com/users/techaffinity/orgs","repos_url":"https://api.github.com/users/techaffinity/repos","events_url":"https://api.github.com/users/techaffinity/events{/privacy}","received_events_url":"https://api.github.com/users/techaffinity/received_events","type":"User","site_admin":false},"body":"Polls feature - Admin can create questions, choices and map questions to the pages. Polls associated to the pages will get displayed in the front end. Basic UI alignment is covered in the polls display. Conflicts resolved and adapt to new folder structure. Polls have been created as a separate app and included in the settings. We have checked for the flake8 standards for this poll feature.","created_at":"2015-07-29T15:12:13Z","updated_at":"2015-07-30T09:16:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb55721f09d02b79039e1df76ef03301220b5843","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5/commits","review_comments_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5/comments","review_comment_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/5/comments","statuses_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/statuses/8742c6add8046685afae4950449b6574ae48340c","head":{"label":"praekelt:feature-questions","ref":"feature-questions","sha":"8742c6add8046685afae4950449b6574ae48340c","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":36718677,"name":"molo-ndoh-yep","full_name":"praekelt/molo-ndoh-yep","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/molo-ndoh-yep","description":"NDoH Youth Empowerment Platform built using Molo","fork":false,"url":"https://api.github.com/repos/praekelt/molo-ndoh-yep","forks_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/forks","keys_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/teams","hooks_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/hooks","issue_events_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/events","assignees_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/tags","blobs_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/languages","stargazers_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/stargazers","contributors_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/contributors","subscribers_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/subscribers","subscription_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/subscription","commits_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/merges","archive_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/downloads","issues_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/releases{/id}","created_at":"2015-06-02T08:20:23Z","updated_at":"2015-07-30T09:10:47Z","pushed_at":"2015-07-30T09:13:19Z","git_url":"git://github.com/praekelt/molo-ndoh-yep.git","ssh_url":"git@github.com:praekelt/molo-ndoh-yep.git","clone_url":"https://github.com/praekelt/molo-ndoh-yep.git","svn_url":"https://github.com/praekelt/molo-ndoh-yep","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:develop","ref":"develop","sha":"3f986c6f93b4a08d6f35d0bc3cbcc0f45602574f","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":36718677,"name":"molo-ndoh-yep","full_name":"praekelt/molo-ndoh-yep","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/molo-ndoh-yep","description":"NDoH Youth Empowerment Platform built using Molo","fork":false,"url":"https://api.github.com/repos/praekelt/molo-ndoh-yep","forks_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/forks","keys_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/teams","hooks_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/hooks","issue_events_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/events","assignees_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/tags","blobs_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/languages","stargazers_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/stargazers","contributors_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/contributors","subscribers_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/subscribers","subscription_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/subscription","commits_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/merges","archive_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/downloads","issues_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/molo-ndoh-yep/releases{/id}","created_at":"2015-06-02T08:20:23Z","updated_at":"2015-07-30T09:10:47Z","pushed_at":"2015-07-30T09:13:19Z","git_url":"git://github.com/praekelt/molo-ndoh-yep.git","ssh_url":"git@github.com:praekelt/molo-ndoh-yep.git","clone_url":"https://github.com/praekelt/molo-ndoh-yep.git","svn_url":"https://github.com/praekelt/molo-ndoh-yep","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5"},"html":{"href":"https://github.com/praekelt/molo-ndoh-yep/pull/5"},"issue":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/5"},"comments":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/molo-ndoh-yep/statuses/8742c6add8046685afae4950449b6574ae48340c"}}}}