{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/comments/31938424","id":31938424,"diff_hunk":"@@ -58,7 +39,23 @@\n         % endfor\n         <span id=\"answer_${id}\"></span>\n     </fieldset>\n-\n+    <div class=\"indicator_container\">\n+        % if input_type == 'checkbox' or not value:\n+            <span class=\"status ${status.classname if show_correctness != 'never' else 'unanswered'}\"\n+                id=\"status_${id}\"\n+                aria-describedby=\"inputtype_${id}\" data-tooltip=\"${status.display_tooltip}\">\n+                <span class=\"sr\">\n+                    %for choice_id, choice_description in choices:\n+                        % if choice_id in value:\n+                            ${choice_description}, \n+                        %endif\n+                    %endfor\n+                    -\n+                    ${status.display_name}\n+                </span>\n+            </span>\n+        % endif\n+    </div>\n     % if show_correctness == \"never\" and (value or status not in ['unsubmitted']):\n     <div class=\"capa_alert\">${submitted_message}</div>","path":"common/lib/capa/capa/templates/choicegroup.html","position":48,"original_position":48,"commit_id":"de10664b1d347dcbb901576654abfc6b0ad7c3cc","original_commit_id":"de10664b1d347dcbb901576654abfc6b0ad7c3cc","user":{"login":"clrux","id":2112024,"avatar_url":"https://avatars.githubusercontent.com/u/2112024?v=3","gravatar_id":"","url":"https://api.github.com/users/clrux","html_url":"https://github.com/clrux","followers_url":"https://api.github.com/users/clrux/followers","following_url":"https://api.github.com/users/clrux/following{/other_user}","gists_url":"https://api.github.com/users/clrux/gists{/gist_id}","starred_url":"https://api.github.com/users/clrux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clrux/subscriptions","organizations_url":"https://api.github.com/users/clrux/orgs","repos_url":"https://api.github.com/users/clrux/repos","events_url":"https://api.github.com/users/clrux/events{/privacy}","received_events_url":"https://api.github.com/users/clrux/received_events","type":"User","site_admin":false},"body":"NIT: use dashes instead of underscores for classnames","created_at":"2015-06-08T17:29:26Z","updated_at":"2015-06-08T17:29:26Z","html_url":"https://github.com/edx/edx-platform/pull/8151#discussion_r31938424","pull_request_url":"https://api.github.com/repos/edx/edx-platform/pulls/8151","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments/31938424"},"html":{"href":"https://github.com/edx/edx-platform/pull/8151#discussion_r31938424"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/8151"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/8151","id":35948752,"html_url":"https://github.com/edx/edx-platform/pull/8151","diff_url":"https://github.com/edx/edx-platform/pull/8151.diff","patch_url":"https://github.com/edx/edx-platform/pull/8151.patch","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/8151","number":8151,"state":"open","locked":false,"title":"Styling refactor for basic capa problems","user":{"login":"marcotuts","id":2023680,"avatar_url":"https://avatars.githubusercontent.com/u/2023680?v=3","gravatar_id":"","url":"https://api.github.com/users/marcotuts","html_url":"https://github.com/marcotuts","followers_url":"https://api.github.com/users/marcotuts/followers","following_url":"https://api.github.com/users/marcotuts/following{/other_user}","gists_url":"https://api.github.com/users/marcotuts/gists{/gist_id}","starred_url":"https://api.github.com/users/marcotuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcotuts/subscriptions","organizations_url":"https://api.github.com/users/marcotuts/orgs","repos_url":"https://api.github.com/users/marcotuts/repos","events_url":"https://api.github.com/users/marcotuts/events{/privacy}","received_events_url":"https://api.github.com/users/marcotuts/received_events","type":"User","site_admin":false},"body":"**Description**\r\nThe following is an in progress PR to update the styling for basic capa input problems to improve both the web and mobile experiences. For multiple choice, checkboxes, dropdowns, and text / number input problems, this styling will make inputs have clearer labels, hover states, larger clickable areas, and cleaner SASS behind the scenes.  This work is in support of an effort to put assessments into the mobile application. \r\n \r\n- - -\r\n \r\n**JIRA Story** ([UX-2185](https://openedx.atlassian.net/browse/UX-2185))\r\n**Confluence / Product Asset** ([Capa Styling Updates for Mobile Assessments](https://openedx.atlassian.net/wiki/display/MA/Capa+Styling+Updates+for+Mobile+Assessments))\r\n**Sandbox URL** (Last Updated: 06/04) [new-capa-styling.sandbox.edx.org](http://new-capa-styling.sandbox.edx.org) \r\n**Dependencies** Testing and review of these and more complex capa problems in real courses. \r\n- - -\r\n**Additional Resources**\r\nTest Course: ([Capa Input Test Course](https://edge.edx.org/courses/course-v1:edX+101+Spring/courseware/02f93ffe02cc48539ebeedf282b8f17e/c7f6939944a34a62a67bca63b93e48ca/))\r\nUsage Note  - make improvements to this test course on edge, then everyone can import/ export the latest version of this test course! \r\n\r\nVideo Summarizing Changes: \r\n([Video Link](https://drive.google.com/file/d/0B7uurO2TaNyfS0gySUhNd0tSbUk/view?usp=sharing))\r\n- - -\r\n**PR Author(s) Notes / To-Do** A list of known open tasks that the PR author has.\r\n- [x] review / test dropdown problems\r\n- [x] review / test text input problems\r\n- [x] review / test number input problems\r\n- [x] review RTL \r\n- [ ] remove 2 cherry-picked mobile commits from Frances, those are merging in via a separate PR\r\n- [ ] i18n support for data-tooltip fields added. \r\n- [x] add data-tooltip to numerical input\r\n- [ ] fix any failing tests\r\n- [ ] complete testing confluence page for the four problem types in this PR\r\n- [ ] update test course to cover all test cases\r\n- [ ] consider testing other representative courses, especially some with known XML capa problems\r\n- [ ] test advanced capa problems to make sure these styling changes aren't breaking those experiences.\r\n\r\n- - -\r\n**Screenshots** \r\nMultiple Choice, multiple question problem, explanation enabled, All other settings default \r\n![image](https://cloud.githubusercontent.com/assets/2023680/7752821/a97bf036-ffaf-11e4-85b8-8c1cbc23650f.png)\r\n\r\nShows data-tooltip for \"Unanswered\" icon (not a font-awesome question mark instead of a circle)\r\n![image](https://cloud.githubusercontent.com/assets/2023680/7752830/bb87f9be-ffaf-11e4-98b9-86a1360feb4c.png)\r\n\r\nShows the impact of styling on a mobile viewport\r\n![image](https://cloud.githubusercontent.com/assets/2023680/7752854/d5a886a6-ffaf-11e4-8753-c0d705c6192f.png)\r\n \r\n- - -\r\n**Reviewers**\r\nCode: @nasthagiri, (TBD) ; Product: will tag Lou closer to merge, FED: @clrux \r\nFYI: @mekkz  ","created_at":"2015-05-21T15:54:22Z","updated_at":"2015-06-08T17:29:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515bc6a35cbe982fb93cac859b531eb9311b25d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-platform/pulls/8151/commits","review_comments_url":"https://api.github.com/repos/edx/edx-platform/pulls/8151/comments","review_comment_url":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/8151/comments","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/de10664b1d347dcbb901576654abfc6b0ad7c3cc","head":{"label":"edx:marco/capa-styling","ref":"marco/capa-styling","sha":"de10664b1d347dcbb901576654abfc6b0ad7c3cc","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"Open edX, the edX platform that powers http://edx.org","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","created_at":"2013-05-30T20:20:38Z","updated_at":"2015-06-06T23:11:50Z","pushed_at":"2015-06-08T17:21:31Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://openedx.org/","size":1907684,"stargazers_count":1964,"watchers_count":1964,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1129,"mirror_url":null,"open_issues_count":175,"forks":1129,"open_issues":175,"watchers":1964,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"298ba727bd59c8b763a5c6df2a53a4877afa4d10","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":10391073,"name":"edx-platform","full_name":"edx/edx-platform","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-platform","description":"Open edX, the edX platform that powers http://edx.org","fork":false,"url":"https://api.github.com/repos/edx/edx-platform","forks_url":"https://api.github.com/repos/edx/edx-platform/forks","keys_url":"https://api.github.com/repos/edx/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-platform/teams","hooks_url":"https://api.github.com/repos/edx/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-platform/events","assignees_url":"https://api.github.com/repos/edx/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-platform/tags","blobs_url":"https://api.github.com/repos/edx/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-platform/languages","stargazers_url":"https://api.github.com/repos/edx/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-platform/subscription","commits_url":"https://api.github.com/repos/edx/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-platform/merges","archive_url":"https://api.github.com/repos/edx/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-platform/downloads","issues_url":"https://api.github.com/repos/edx/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-platform/releases{/id}","created_at":"2013-05-30T20:20:38Z","updated_at":"2015-06-06T23:11:50Z","pushed_at":"2015-06-08T17:21:31Z","git_url":"git://github.com/edx/edx-platform.git","ssh_url":"git@github.com:edx/edx-platform.git","clone_url":"https://github.com/edx/edx-platform.git","svn_url":"https://github.com/edx/edx-platform","homepage":"http://openedx.org/","size":1907684,"stargazers_count":1964,"watchers_count":1964,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1129,"mirror_url":null,"open_issues_count":175,"forks":1129,"open_issues":175,"watchers":1964,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/8151"},"html":{"href":"https://github.com/edx/edx-platform/pull/8151"},"issue":{"href":"https://api.github.com/repos/edx/edx-platform/issues/8151"},"comments":{"href":"https://api.github.com/repos/edx/edx-platform/issues/8151/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/8151/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-platform/pulls/8151/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-platform/statuses/de10664b1d347dcbb901576654abfc6b0ad7c3cc"}}}}