{"action":"created","comment":{"url":"https://api.github.com/repos/cbitstech/sis_app/pulls/comments/36457700","id":36457700,"diff_hunk":"@@ -0,0 +1,435 @@\n+\n+<!-- START STATE_CONFIDENT_WEEKS_PRE (PRE-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONFIDENT_WEEKS_PRE\">\n+    <h4>How CONFIDENT are you that you will be able to quit smoking for at least 2 WEEKS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How CONFIDENT are you that you will be able to quit smoking for at least 2 WEEKS?',\n+                                               ema.questions.STATE_CONFIDENT_MONTHS_PRE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all confident', '1','2','3','4','5 - somewhat confident','6','7','8','9','10 - extremely confident']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_CONFIDENT_WEEKS_PRE -->\n+\n+<!-- START STATE_CONFIDENT_MONTHS_PRE (PRE-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONFIDENT_MONTHS_PRE\">\n+    <h4>How CONFIDENT are you that you will be able to quit smoking for at least 3 MONTHS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How CONFIDENT are you that you will be able to quit smoking for at least 3 MONTHS?',\n+                                              ema.questions.STATE_MOTIVATED_WEEKS_PRE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all confident', '1','2','3','4','5 - somewhat confident','6','7','8','9','10 - extremely confident']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_CONFIDENT_MONTHS_PRE -->\n+\n+<!-- START STATE_CONFIDENT_WEEKS_POST (POST-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONFIDENT_WEEKS_POST\">\n+    <h4>How CONFIDENT are you that you will be able to stay quit for at least 2 WEEKS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How CONFIDENT are you that you will be able to stay quit for at least 2 WEEKS?',\n+                                              ema.questions.STATE_CONFIDENT_MONTHS_POST)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all confident', '1','2','3','4','5 - somewhat confident','6','7','8','9','10 - extremely confident']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_CONFIDENT_WEEKS_POST -->\n+\n+<!-- START STATE_CONFIDENT_MONTHS_POST (POST-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONFIDENT_MONTHS_POST\">\n+    <h4>How CONFIDENT are you that you will be able to stay quit for at least 3 MONTHS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How CONFIDENT are you that you will be able to stay quit for at least 3 MONTHS?',\n+                                              ema.questions.STATE_MOTIVATED_WEEKS_POST)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all confident', '1','2','3','4','5 - somewhat confident','6','7','8','9','10 - extremely confident']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_CONFIDENT_MONTHS_POST -->\n+\n+<!-- START STATE_MOTIVATED_WEEKS_PRE (PRE-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOTIVATED_WEEKS_PRE\">\n+    <h4>How MOTIVATED are you to quit smoking for at least 2 WEEKS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How MOTIVATED are you to quit smoking for at least 2 WEEKS?',\n+                                              ema.questions.STATE_MOTIVATED_MONTHS_PRE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all motivated', '1','2','3','4','5 - somewhat motivated','6','7','8','9','10 - extremely motivated']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOTIVATED_WEEKS_PRE -->\n+\n+<!-- START STATE_MOTIVATED_MONTHS_PRE (PRE-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOTIVATED_MONTHS_PRE\">\n+    <h4>How MOTIVATED are you to quit smoking for at least 2 MONTHS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How MOTIVATED are you to quit smoking for at least 2 MONTHS?',\n+                                              ema.questions.STATE_SMOKING_LIKE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all motivated', '1','2','3','4','5 - somewhat motivated','6','7','8','9','10 - extremely motivated']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOTIVATED_MONTHS_PRE -->\n+\n+<!-- START STATE_MOTIVATED_WEEKS_POST (POST-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOTIVATED_WEEKS_POST\">\n+    <h4>How MOTIVATED are you to quit smoking for at least 2 WEEKS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How MOTIVATED are you to quit smoking for at least 2 WEEKS?',\n+                                              ema.questions.STATE_MOTIVATED_MONTHS_POST)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all motivated', '1','2','3','4','5 - somewhat motivated','6','7','8','9','10 - extremely motivated']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOTIVATED_WEEKS_POST -->\n+\n+<!-- START STATE_MOTIVATED_MONTHS_POST (POST-QUIT) -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOTIVATED_MONTHS_POST\">\n+    <h4>How MOTIVATED are you to quit smoking for at least 2 MONTHS?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How MOTIVATED are you to quit smoking for at least 2 MONTHS?',\n+                                              ema.questions.STATE_SMOKING_LIKE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all motivated', '1','2','3','4','5 - somewhat motivated','6','7','8','9','10 - extremely motivated']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOTIVATED_MONTHS_POST -->\n+\n+<!-- START STATE_SMOKING_LIKE -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_SMOKING_LIKE\">\n+    <h4>Think about all the things you LIKE/LOVE about smoking: taken together, how important are those things to you RIGHT NOW?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Think about all the things you LIKE/LOVE about smoking: taken together, how important are those things to you RIGHT NOW?',\n+                                              ema.questions.STATE_SMOKING_DISLIKE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all important', '1','2','3','4','5 - somewhat important','6','7','8','9','10 - extremely important']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_SMOKING_LIKE -->\n+\n+<!-- START STATE_SMOKING_DISLIKE -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_SMOKING_DISLIKE\">\n+    <h4>Think about all the things you DISLIKE/HATE about smoking: taken together, how important are those things to you RIGHT NOW?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Think about all the things you DISLIKE/HATE about smoking: taken together, how important are those things to you RIGHT NOW?',\n+                                              ema.questions.STATE_MOOD_INTRO)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all important', '1','2','3','4','5 - somewhat important','6','7','8','9','10 - extremely important']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_SMOKING_DISLIKE -->\n+\n+<!-- START STATE_MOOD_INTRO -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_INTRO\">\n+    <h4>Please tell us how you felt RIGHT BEFORE completing this report.</h4>\n+    <button class=\"btn btn-primary\" ng-click=\"ema.setState(ema.questions.STATE_MOOD_HAPPY)\">OK</button>\n+</div>\n+<!-- END STATE_MOOD_INTRO -->\n+\n+<!-- START STATE_MOOD_HAPPY -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_HAPPY\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>happy</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (happy)',\n+                                              ema.questions.STATE_MOOD_CONTENT)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all happy', '1','2','3','4','5 - somewhat happy','6','7','8','9','10 - extremely happy']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_HAPPY -->\n+\n+<!-- START STATE_MOOD_CONTENT -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_CONTENT\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>content</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (content)',\n+                                              ema.questions.STATE_MOOD_CALM)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all content', '1','2','3','4','5 - somewhat content','6','7','8','9','10 - extremely content']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_CONTENT -->\n+\n+<!-- START STATE_MOOD_CALM -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_CALM\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>calm</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (calm)',\n+                                              ema.questions.STATE_MOOD_FRUSTRATED)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all calm', '1','2','3','4','5 - somewhat calm','6','7','8','9','10 - extremely calm']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_CALM -->\n+\n+<!-- START STATE_MOOD_FRUSTRATED -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_FRUSTRATED\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>frustrated</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (frustrated)',\n+                                              ema.questions.STATE_MOOD_IRRITABLE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all frustrated', '1','2','3','4','5 - somewhat frustrated','6','7','8','9','10 - extremely frustrated']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_FRUSTRATED -->\n+\n+<!-- START STATE_MOOD_IRRITABLE -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_IRRITABLE\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>irritable</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (irritable)',\n+                                              ema.questions.STATE_MOOD_MISERABLE)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all irritable', '1','2','3','4','5 - somewhat irritable','6','7','8','9','10 - extremely irritable']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_IRRITABLE -->\n+\n+<!-- START STATE_MOOD_MISERABLE -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_MISERABLE\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>miserable</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (miserable)',\n+                                              ema.questions.STATE_MOOD_SAD)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all miserable', '1','2','3','4','5 - somewhat miserable','6','7','8','9','10 - extremely miserable']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_MISERABLE -->\n+\n+<!-- START STATE_MOOD_SAD -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_SAD\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>sad</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (sad)',\n+                                              ema.questions.STATE_MOOD_WORRIED)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all sad', '1','2','3','4','5 - somewhat sad','6','7','8','9','10 - extremely sad']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_SAD -->\n+\n+<!-- START STATE_MOOD_WORRIED -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_MOOD_WORRIED\">\n+    <h4>Your mood RIGHT BEFORE this report <strong>worried</strong></h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('Your mood RIGHT BEFORE this report (worried)',\n+                                              ema.cessationSessionQuestionState(ema.questions.STATE_CONTEXT_INTRO,\n+                                              ema.questions.STATE_CRAVE_POST))\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all worried', '1','2','3','4','5 - somewhat worried','6','7','8','9','10 - extremely worried']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_MOOD_WORRIED -->\n+\n+<!-- START STATE_CRAVE_POST -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CRAVE_POST\">\n+    <h4>How much are you craving cigarettes RIGHT NOW?</h4>\n+    <select class=\"form-control\"\n+            ng-model=\"ema.currentAnswer\"\n+            ng-change=\"ema.saveQuestionAnswer('How much are you craving cigarettes RIGHT NOW?',\n+                                              ema.questions.STATE_CONTEXT_INTRO)\">\n+        <option ng-repeat=\"(index, value) in ['0 - not at all', '1','2','3','4','5 - somewhat','6','7','8','9','10 - extremely']\"\n+                value=\"{{ index }}\">\n+            {{ value }}\n+        </option>\n+    </select>\n+</div>\n+<!-- END STATE_CRAVE_POST -->\n+\n+<!-- START STATE_CONTEXT_INTRO -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONTEXT_INTRO\">\n+    <h4>Please tell us about your current context.</h4>\n+    <button class=\"btn btn-primary\" ng-click=\"ema.setState(ema.questions.STATE_CONTEXT_COMPANY)\">OK</button>\n+</div>\n+<!-- END STATE_CONTEXT_INTRO -->\n+\n+<!-- START STATE_CONTEXT_COMPANY -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONTEXT_COMPANY\">\n+    <h4>In the last 15 minutes, have you been with? (check all that apply)</h4>\n+    <div ng-repeat=\"(index, value) in [ 'no one',\n+                                        'spouse//partner',\n+                                        'family member',\n+                                        'friend(s)',\n+                                        'co-worker',\n+                                        'classmate',\n+                                        'other person you know',\n+                                        'stranger']\">\n+        <input type=\"checkbox\" ng-model=\"index\" ng-change=\"ema.appendToCurrentAnswer(value)\" value=\"{{value}}\" name=\"company\"> {{ value }}<br>\n+    </div>\n+    <button ng-show=\"ema.currentAnswer\" class=\"btn btn-primary\" ng-click=\"ema.saveAnswer('In the last 15 minutes, have you been with? (check all that apply)', ema.currentAnswer, ema.questions.STATE_CONTEXT_COMPANY_SMOKE)\">Continue</button>\n+</div>\n+<!-- END STATE_CONTEXT_COMPANY -->\n+\n+<!-- START STATE_CONTEXT_COMPANY_SMOKE -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_CONTEXT_COMPANY_SMOKE\">\n+    <h4>In the last 15 minutes, have you seen any of these people smoke? (check all that apply)</h4>\n+    <div ng-repeat=\"(index, value) in [ 'no one',\n+                                        'spouse//partner',\n+                                        'family member',\n+                                        'friend(s)',\n+                                        'co-worker',\n+                                        'classmate',\n+                                        'other person you know',\n+                                        'stranger']\">\n+        <input type=\"checkbox\" ng-model=\"index\" ng-change=\"ema.appendToCurrentAnswer(value)\" value=\"{{value}}\" name=\"company\"> {{ value }}<br>\n+    </div>\n+    <button ng-show=\"ema.currentAnswer\" class=\"btn btn-primary\" ng-click=\"ema.saveAnswer('In the last 15 minutes, have you seen any of these people smoke? (check all that apply)', ema.currentAnswer, ema.questions.STATE_LOCATION)\">Continue</button>\n+</div>\n+<!-- END STATE_CONTEXT_COMPANY_SMOKE -->\n+\n+<!-- START STATE_LOCATION -->\n+<div ng-show=\"ema.currentQuestion == ema.questions.STATE_LOCATION\">","path":"src/partials/common_ema_questions.html","position":337,"original_position":337,"commit_id":"fa929ebd2dbc0dfc8e59ca8fa207798bb2465ddf","original_commit_id":"350c3bb86a590f0ffc03efbbf993ab66ba3863b6","user":{"login":"michaelwehrley","id":526136,"avatar_url":"https://avatars.githubusercontent.com/u/526136?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwehrley","html_url":"https://github.com/michaelwehrley","followers_url":"https://api.github.com/users/michaelwehrley/followers","following_url":"https://api.github.com/users/michaelwehrley/following{/other_user}","gists_url":"https://api.github.com/users/michaelwehrley/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwehrley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwehrley/subscriptions","organizations_url":"https://api.github.com/users/michaelwehrley/orgs","repos_url":"https://api.github.com/users/michaelwehrley/repos","events_url":"https://api.github.com/users/michaelwehrley/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwehrley/received_events","type":"User","site_admin":false},"body":"I did it here: https://github.com/cbitstech/ed_navigator_app/blob/master/src/partials/directives/categoryThumbnail.html#L1.","created_at":"2015-08-06T19:52:56Z","updated_at":"2015-08-06T19:52:56Z","html_url":"https://github.com/cbitstech/sis_app/pull/23#discussion_r36457700","pull_request_url":"https://api.github.com/repos/cbitstech/sis_app/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/comments/36457700"},"html":{"href":"https://github.com/cbitstech/sis_app/pull/23#discussion_r36457700"},"pull_request":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/cbitstech/sis_app/pulls/23","id":41716027,"html_url":"https://github.com/cbitstech/sis_app/pull/23","diff_url":"https://github.com/cbitstech/sis_app/pull/23.diff","patch_url":"https://github.com/cbitstech/sis_app/pull/23.patch","issue_url":"https://api.github.com/repos/cbitstech/sis_app/issues/23","number":23,"state":"open","locked":false,"title":"Evening and morning EMA notifications.","user":{"login":"eschlange","id":4666065,"avatar_url":"https://avatars.githubusercontent.com/u/4666065?v=3","gravatar_id":"","url":"https://api.github.com/users/eschlange","html_url":"https://github.com/eschlange","followers_url":"https://api.github.com/users/eschlange/followers","following_url":"https://api.github.com/users/eschlange/following{/other_user}","gists_url":"https://api.github.com/users/eschlange/gists{/gist_id}","starred_url":"https://api.github.com/users/eschlange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschlange/subscriptions","organizations_url":"https://api.github.com/users/eschlange/orgs","repos_url":"https://api.github.com/users/eschlange/repos","events_url":"https://api.github.com/users/eschlange/events{/privacy}","received_events_url":"https://api.github.com/users/eschlange/received_events","type":"User","site_admin":false},"body":"* Added morning notifications for EMA input.\r\n* Added evening notifications for EMA input.\r\n* Added EMA service and controllers.\r\n* Added spec coverage to all new files.\r\n* Small update to session content and display.\r\n* Added common EMA questions used by both morning and evening notification views.\r\n\r\n[#95522128]","created_at":"2015-08-05T19:24:50Z","updated_at":"2015-08-06T19:52:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c296b28015d964ad2b992c2f4c5eafeee5cbbfe0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbitstech/sis_app/pulls/23/commits","review_comments_url":"https://api.github.com/repos/cbitstech/sis_app/pulls/23/comments","review_comment_url":"https://api.github.com/repos/cbitstech/sis_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbitstech/sis_app/issues/23/comments","statuses_url":"https://api.github.com/repos/cbitstech/sis_app/statuses/fa929ebd2dbc0dfc8e59ca8fa207798bb2465ddf","head":{"label":"cbitstech:ems-95522128-morning-evening-notifications","ref":"ems-95522128-morning-evening-notifications","sha":"fa929ebd2dbc0dfc8e59ca8fa207798bb2465ddf","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":36821218,"name":"sis_app","full_name":"cbitstech/sis_app","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/sis_app","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/sis_app","forks_url":"https://api.github.com/repos/cbitstech/sis_app/forks","keys_url":"https://api.github.com/repos/cbitstech/sis_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/sis_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/sis_app/teams","hooks_url":"https://api.github.com/repos/cbitstech/sis_app/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/sis_app/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/sis_app/events","assignees_url":"https://api.github.com/repos/cbitstech/sis_app/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/sis_app/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/sis_app/tags","blobs_url":"https://api.github.com/repos/cbitstech/sis_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/sis_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/sis_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/sis_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/sis_app/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/sis_app/languages","stargazers_url":"https://api.github.com/repos/cbitstech/sis_app/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/sis_app/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/sis_app/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/sis_app/subscription","commits_url":"https://api.github.com/repos/cbitstech/sis_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/sis_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/sis_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/sis_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/sis_app/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/sis_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/sis_app/merges","archive_url":"https://api.github.com/repos/cbitstech/sis_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/sis_app/downloads","issues_url":"https://api.github.com/repos/cbitstech/sis_app/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/sis_app/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/sis_app/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/sis_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/sis_app/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/sis_app/releases{/id}","created_at":"2015-06-03T18:05:45Z","updated_at":"2015-06-17T18:28:40Z","pushed_at":"2015-08-06T19:42:27Z","git_url":"git://github.com/cbitstech/sis_app.git","ssh_url":"git@github.com:cbitstech/sis_app.git","clone_url":"https://github.com/cbitstech/sis_app.git","svn_url":"https://github.com/cbitstech/sis_app","homepage":null,"size":1104,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cbitstech:master","ref":"master","sha":"e3e9547351d5c94ddf67dadcae4142afa63200b2","user":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"repo":{"id":36821218,"name":"sis_app","full_name":"cbitstech/sis_app","owner":{"login":"cbitstech","id":864362,"avatar_url":"https://avatars.githubusercontent.com/u/864362?v=3","gravatar_id":"","url":"https://api.github.com/users/cbitstech","html_url":"https://github.com/cbitstech","followers_url":"https://api.github.com/users/cbitstech/followers","following_url":"https://api.github.com/users/cbitstech/following{/other_user}","gists_url":"https://api.github.com/users/cbitstech/gists{/gist_id}","starred_url":"https://api.github.com/users/cbitstech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbitstech/subscriptions","organizations_url":"https://api.github.com/users/cbitstech/orgs","repos_url":"https://api.github.com/users/cbitstech/repos","events_url":"https://api.github.com/users/cbitstech/events{/privacy}","received_events_url":"https://api.github.com/users/cbitstech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbitstech/sis_app","description":"","fork":false,"url":"https://api.github.com/repos/cbitstech/sis_app","forks_url":"https://api.github.com/repos/cbitstech/sis_app/forks","keys_url":"https://api.github.com/repos/cbitstech/sis_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbitstech/sis_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbitstech/sis_app/teams","hooks_url":"https://api.github.com/repos/cbitstech/sis_app/hooks","issue_events_url":"https://api.github.com/repos/cbitstech/sis_app/issues/events{/number}","events_url":"https://api.github.com/repos/cbitstech/sis_app/events","assignees_url":"https://api.github.com/repos/cbitstech/sis_app/assignees{/user}","branches_url":"https://api.github.com/repos/cbitstech/sis_app/branches{/branch}","tags_url":"https://api.github.com/repos/cbitstech/sis_app/tags","blobs_url":"https://api.github.com/repos/cbitstech/sis_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbitstech/sis_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbitstech/sis_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbitstech/sis_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbitstech/sis_app/statuses/{sha}","languages_url":"https://api.github.com/repos/cbitstech/sis_app/languages","stargazers_url":"https://api.github.com/repos/cbitstech/sis_app/stargazers","contributors_url":"https://api.github.com/repos/cbitstech/sis_app/contributors","subscribers_url":"https://api.github.com/repos/cbitstech/sis_app/subscribers","subscription_url":"https://api.github.com/repos/cbitstech/sis_app/subscription","commits_url":"https://api.github.com/repos/cbitstech/sis_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbitstech/sis_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbitstech/sis_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbitstech/sis_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbitstech/sis_app/contents/{+path}","compare_url":"https://api.github.com/repos/cbitstech/sis_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbitstech/sis_app/merges","archive_url":"https://api.github.com/repos/cbitstech/sis_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbitstech/sis_app/downloads","issues_url":"https://api.github.com/repos/cbitstech/sis_app/issues{/number}","pulls_url":"https://api.github.com/repos/cbitstech/sis_app/pulls{/number}","milestones_url":"https://api.github.com/repos/cbitstech/sis_app/milestones{/number}","notifications_url":"https://api.github.com/repos/cbitstech/sis_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbitstech/sis_app/labels{/name}","releases_url":"https://api.github.com/repos/cbitstech/sis_app/releases{/id}","created_at":"2015-06-03T18:05:45Z","updated_at":"2015-06-17T18:28:40Z","pushed_at":"2015-08-06T19:42:27Z","git_url":"git://github.com/cbitstech/sis_app.git","ssh_url":"git@github.com:cbitstech/sis_app.git","clone_url":"https://github.com/cbitstech/sis_app.git","svn_url":"https://github.com/cbitstech/sis_app","homepage":null,"size":1104,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/23"},"html":{"href":"https://github.com/cbitstech/sis_app/pull/23"},"issue":{"href":"https://api.github.com/repos/cbitstech/sis_app/issues/23"},"comments":{"href":"https://api.github.com/repos/cbitstech/sis_app/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbitstech/sis_app/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/cbitstech/sis_app/statuses/fa929ebd2dbc0dfc8e59ca8fa207798bb2465ddf"}}}}