{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/remo/pulls/comments/31813314","id":31813314,"diff_hunk":"@@ -1,167 +1,193 @@\n-<script id=\"radio-poll-tmpl\" type=\"text/x-jquery-tmpl\">\n-  <input name=\"${ prefix }-${ count }-id\" id=\"id_${ prefix }-${ count }-id\" type=\"hidden\">\n+<script id=\"radio-poll-tmpl\" type=\"text/x-handlebars-template\">\n+  {% raw %}<input name=\"{{ prefix }}-{{ count }}-id\"\n+         id=\"id_{{ prefix }}-{{ count }}-id\" type=\"hidden\">{% endraw %}\n   <div class=\"copyblock voting-poll\">\n     <div class=\"poll-block\">\n       <div data-tooltip class=\"has-tip tip-left\" title=\"Radio Poll Title\">\n-        <input id=\"id_${ prefix }-${ count }-question\"\n-               placeholder=\"Radio Poll Title\"\n-               name=\"${ prefix }-${ count }-question\"\n-               maxlength=\"500\"\n-               type=\"text\">\n+        {% raw %}\n+          <input id=\"id_{{ prefix }}-{{ count }}-question\"\n+                 placeholder=\"Radio Poll Title\"\n+                 name=\"{{ prefix }}-{{ count }}-question\"\n+                 maxlength=\"500\"\n+                 type=\"text\">\n+        {% endraw %}\n       </div>\n       <div class=\"required-field\"></div>\n-      <div class=\"formset\" data-prefix=\"${ prefix }-${ count }_radio_choices\">\n-        <input name=\"${ prefix }-${ count }_radio_choices-0-id\"\n-               id=\"id_${ prefix }-${ count }_radio_choices-0-id\"\n-               type=\"hidden\">\n+      <div class=\"formset\" data-prefix=\"{{ prefix }}-{{ count }}_radio_choices\">\n+        {% raw %}<input name=\"{{ prefix }}-{{ count }}_radio_choices-0-id\"\n+               id=\"id_{{ prefix }}-{{ count }}_radio_choices-0-id\"\n+               type=\"hidden\">{% endraw %}\n         <div class=\"copyblock radio-choice\">\n           <div title=\"Radio Poll Answer\" data-tooltip class=\"has-tip tip-left\">\n-            <input id=\"id_${ prefix }-${ count }_radio_choices-0-answer\"\n-                   placeholder=\"Radio Poll Answer\"\n-                   name=\"${ prefix }-${ count }_radio_choices-0-answer\"\n-                   maxlength=\"500\"\n-                   type=\"text\">\n+            {% raw %}\n+              <input id=\"id_{{ prefix }}-{{ count }}_radio_choices-0-answer\"\n+                     placeholder=\"Radio Poll Answer\"\n+                     name=\"{{ prefix }}-{{ count }}_radio_choices-0-answer\"\n+                     maxlength=\"500\"\n+                     type=\"text\">\n+            {% endraw %}\n           </div>\n           <div class=\"required-field\"></div>\n           <div class=\"align-right\">\n-            <label for=\"id_${ prefix }-${ count }_radio_choices-0-DELETE\">\n-              Delete\n-            </label>\n-            <input name=\"${ prefix }-${ count }_radio_choices-0-DELETE\"\n-                   id=\"id_${ prefix }-${ count }_radio_choices-0-DELETE\"\n-                   type=\"checkbox\">\n+            {% raw %}\n+              <label for=\"id_{{ prefix }}-{{ count }}_radio_choices-0-DELETE\">\n+                Delete\n+              </label>\n+              <input name=\"{{ prefix }}-{{ count }}_radio_choices-0-DELETE\"\n+                     id=\"id_{{ prefix }}-{{ count }}_radio_choices-0-DELETE\"\n+                     type=\"checkbox\">\n+            {% endraw %}\n           </div>\n         </div>\n         <button class=\"voting-add-answer-button small button\">\n           Add Choice\n         </button>\n       </div>\n-      <input name=\"${ prefix }-${ count }_radio_choices-TOTAL_FORMS\"\n-             value=\"1\"\n-             id=\"id_${ prefix }-${ count }_radio_choices-TOTAL_FORMS\"\n-             type=\"hidden\">\n-      <input name=\"${ prefix }-${ count }_radio_choices-INITIAL_FORMS\"\n-             value=\"0\"\n-             id=\"id_${ prefix }-${ count }_radio_choices-INITIAL_FORMS\"\n-             type=\"hidden\">\n-      <input name=\"${ prefix }-${ count }_radio_choices-MAX_NUM_FORMS\"\n-             value=\"1000\"\n-             id=\"id_${ prefix }-${ count }_radio_choices-MAX_NUM_FORMS\"\n-             type=\"hidden\">\n+      {% raw %}\n+        <input name=\"{{ prefix }}-{{ count }}_radio_choices-TOTAL_FORMS\"\n+               value=\"1\"\n+               id=\"id_{{ prefix }}-{{ count }}_radio_choices-TOTAL_FORMS\"\n+               type=\"hidden\">\n+        <input name=\"{{ prefix }}-{{ count }}_radio_choices-INITIAL_FORMS\"\n+               value=\"0\"\n+               id=\"id_{{ prefix }}-{{ count }}_radio_choices-INITIAL_FORMS\"\n+               type=\"hidden\">\n+        <input name=\"{{ prefix }}-{{ count }}_radio_choices-MAX_NUM_FORMS\"\n+               value=\"1000\"\n+               id=\"id_{{ prefix }}-{{ count }}_radio_choices-MAX_NUM_FORMS\"\n+               type=\"hidden\">\n+      {% endraw %}\n     </div>\n   </div>\n </script>\n \n-<script id=\"range-poll-tmpl\" type=\"text/x-jquery-tmpl\">\n-  <input id=\"id_${ prefix }-${ count }-id\" type=\"hidden\" name=\"${ prefix }-${ count }-id\">\n+<script id=\"range-poll-tmpl\" type=\"text/x-handlebars-template\">\n+{% raw %}<input id=\"id_{{ prefix }}-{{ count }}-id\" type=\"hidden\"\n+                name=\"{{ prefix }}-{{ count }}-id\">{% endraw %}\n   <div class=\"copyblock voting-poll\">\n     <div class=\"poll-block\">\n       <div title=\"Range Poll Name\" data-tooltip class=\"has-tip tip-left\">\n-        <input name=\"${ prefix }-${ count }-name\"\n-               placeholder=\"Range Poll Name\"\n-               maxlength=\"500\"\n-               id=\"id_${ prefix }-${ count }-name\"\n-               type=\"text\">\n+        {% raw %}\n+          <input name=\"{{ prefix }}-{{ count }}-name\"\n+                 placeholder=\"Range Poll Name\"\n+                 maxlength=\"500\"\n+                 id=\"id_{{ prefix }}-{{ count }}-name\"\n+                 type=\"text\">\n+        {% endraw %}\n       </div>\n       <div class=\"required-field\"></div>\n-      <div class=\"formset\" data-prefix=\"${ prefix }-${ count }_range_choices\">\n-        <input name=\"${ prefix }-${ count }_range_choices-0-id\"\n-               id=\"id_${ prefix }-${ count }_range_choices-0-id\"\n-               type=\"hidden\">\n+      <div class=\"formset\" data-prefix=\"{{ prefix }}-{{ count }}_range_choices\">\n+        {% raw %}<input name=\"{{ prefix }}-{{ count }}_range_choices-0-id\"\n+                id=\"id_{{ prefix }}-{{ count }}_range_choices-0-id\"\n+                type=\"hidden\">{% endraw %}\n         <div class=\"copyblock nominee\">\n           <div class=\"select-nominee-group\">\n             <div title=\"Select Nominee\"\n-                 data-tooltip\n-                 class=\"has-tip tip-left select-nominee\">\n-              <select id=\"id_${ prefix }-${ count }_range_choices-0-nominee\"\n-                      name=\"${ prefix }-${ count }_range_choices-0-nominee\">\n+                  data-tooltip\n+                  class=\"has-tip tip-left select-nominee\">\n+              {% raw %}<select id=\"id_{{ prefix }}-{{ count }}_range_choices-0-nominee\"","path":"remo/voting/templates/includes/voting_templates.html","position":145,"original_position":137,"commit_id":"deaedfba21d42eef8159a96daed7995532f32c95","original_commit_id":"9829c3b9e428d2985bc8aaa9927d2e2dc24142e6","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"body":"Although I don't have strong feelings about it, I believe that in some cases is easier to read it inline.","created_at":"2015-06-05T13:47:02Z","updated_at":"2015-06-05T13:47:02Z","html_url":"https://github.com/mozilla/remo/pull/1044#discussion_r31813314","pull_request_url":"https://api.github.com/repos/mozilla/remo/pulls/1044","_links":{"self":{"href":"https://api.github.com/repos/mozilla/remo/pulls/comments/31813314"},"html":{"href":"https://github.com/mozilla/remo/pull/1044#discussion_r31813314"},"pull_request":{"href":"https://api.github.com/repos/mozilla/remo/pulls/1044"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/remo/pulls/1044","id":36942836,"html_url":"https://github.com/mozilla/remo/pull/1044","diff_url":"https://github.com/mozilla/remo/pull/1044.diff","patch_url":"https://github.com/mozilla/remo/pull/1044.patch","issue_url":"https://api.github.com/repos/mozilla/remo/issues/1044","number":1044,"state":"open","locked":false,"title":"[fix bug 1170622] Replace jquery templates with handlebars.","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-04T14:58:54Z","updated_at":"2015-06-05T13:47:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"725c7048b083c7cae63fd5507fc6d8b203760163","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/remo/pulls/1044/commits","review_comments_url":"https://api.github.com/repos/mozilla/remo/pulls/1044/comments","review_comment_url":"https://api.github.com/repos/mozilla/remo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/remo/issues/1044/comments","statuses_url":"https://api.github.com/repos/mozilla/remo/statuses/deaedfba21d42eef8159a96daed7995532f32c95","head":{"label":"akatsoulas:templates-js","ref":"templates-js","sha":"deaedfba21d42eef8159a96daed7995532f32c95","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"repo":{"id":4456388,"name":"remo","full_name":"akatsoulas/remo","owner":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akatsoulas/remo","description":"Mozilla Reps","fork":true,"url":"https://api.github.com/repos/akatsoulas/remo","forks_url":"https://api.github.com/repos/akatsoulas/remo/forks","keys_url":"https://api.github.com/repos/akatsoulas/remo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akatsoulas/remo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akatsoulas/remo/teams","hooks_url":"https://api.github.com/repos/akatsoulas/remo/hooks","issue_events_url":"https://api.github.com/repos/akatsoulas/remo/issues/events{/number}","events_url":"https://api.github.com/repos/akatsoulas/remo/events","assignees_url":"https://api.github.com/repos/akatsoulas/remo/assignees{/user}","branches_url":"https://api.github.com/repos/akatsoulas/remo/branches{/branch}","tags_url":"https://api.github.com/repos/akatsoulas/remo/tags","blobs_url":"https://api.github.com/repos/akatsoulas/remo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akatsoulas/remo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akatsoulas/remo/git/refs{/sha}","trees_url":"https://api.github.com/repos/akatsoulas/remo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akatsoulas/remo/statuses/{sha}","languages_url":"https://api.github.com/repos/akatsoulas/remo/languages","stargazers_url":"https://api.github.com/repos/akatsoulas/remo/stargazers","contributors_url":"https://api.github.com/repos/akatsoulas/remo/contributors","subscribers_url":"https://api.github.com/repos/akatsoulas/remo/subscribers","subscription_url":"https://api.github.com/repos/akatsoulas/remo/subscription","commits_url":"https://api.github.com/repos/akatsoulas/remo/commits{/sha}","git_commits_url":"https://api.github.com/repos/akatsoulas/remo/git/commits{/sha}","comments_url":"https://api.github.com/repos/akatsoulas/remo/comments{/number}","issue_comment_url":"https://api.github.com/repos/akatsoulas/remo/issues/comments{/number}","contents_url":"https://api.github.com/repos/akatsoulas/remo/contents/{+path}","compare_url":"https://api.github.com/repos/akatsoulas/remo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akatsoulas/remo/merges","archive_url":"https://api.github.com/repos/akatsoulas/remo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akatsoulas/remo/downloads","issues_url":"https://api.github.com/repos/akatsoulas/remo/issues{/number}","pulls_url":"https://api.github.com/repos/akatsoulas/remo/pulls{/number}","milestones_url":"https://api.github.com/repos/akatsoulas/remo/milestones{/number}","notifications_url":"https://api.github.com/repos/akatsoulas/remo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akatsoulas/remo/labels{/name}","releases_url":"https://api.github.com/repos/akatsoulas/remo/releases{/id}","created_at":"2012-05-26T17:07:15Z","updated_at":"2015-05-07T12:04:35Z","pushed_at":"2015-06-05T13:45:30Z","git_url":"git://github.com/akatsoulas/remo.git","ssh_url":"git@github.com:akatsoulas/remo.git","clone_url":"https://github.com/akatsoulas/remo.git","svn_url":"https://github.com/akatsoulas/remo","homepage":"http://reps.mozilla.org","size":20409,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"a831120f747014999d9c74601f4c431581894355","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":3167000,"name":"remo","full_name":"mozilla/remo","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/remo","description":"Mozilla Reps","fork":false,"url":"https://api.github.com/repos/mozilla/remo","forks_url":"https://api.github.com/repos/mozilla/remo/forks","keys_url":"https://api.github.com/repos/mozilla/remo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/remo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/remo/teams","hooks_url":"https://api.github.com/repos/mozilla/remo/hooks","issue_events_url":"https://api.github.com/repos/mozilla/remo/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/remo/events","assignees_url":"https://api.github.com/repos/mozilla/remo/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/remo/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/remo/tags","blobs_url":"https://api.github.com/repos/mozilla/remo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/remo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/remo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/remo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/remo/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/remo/languages","stargazers_url":"https://api.github.com/repos/mozilla/remo/stargazers","contributors_url":"https://api.github.com/repos/mozilla/remo/contributors","subscribers_url":"https://api.github.com/repos/mozilla/remo/subscribers","subscription_url":"https://api.github.com/repos/mozilla/remo/subscription","commits_url":"https://api.github.com/repos/mozilla/remo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/remo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/remo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/remo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/remo/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/remo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/remo/merges","archive_url":"https://api.github.com/repos/mozilla/remo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/remo/downloads","issues_url":"https://api.github.com/repos/mozilla/remo/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/remo/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/remo/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/remo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/remo/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/remo/releases{/id}","created_at":"2012-01-12T23:41:29Z","updated_at":"2015-05-05T08:06:26Z","pushed_at":"2015-06-05T13:45:30Z","git_url":"git://github.com/mozilla/remo.git","ssh_url":"git@github.com:mozilla/remo.git","clone_url":"https://github.com/mozilla/remo.git","svn_url":"https://github.com/mozilla/remo","homepage":"http://reps.mozilla.org","size":22713,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":7,"forks":72,"open_issues":7,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/remo/pulls/1044"},"html":{"href":"https://github.com/mozilla/remo/pull/1044"},"issue":{"href":"https://api.github.com/repos/mozilla/remo/issues/1044"},"comments":{"href":"https://api.github.com/repos/mozilla/remo/issues/1044/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/remo/pulls/1044/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/remo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/remo/pulls/1044/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/remo/statuses/deaedfba21d42eef8159a96daed7995532f32c95"}}}}