{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/addons-server/pulls/comments/58447625","id":58447625,"diff_hunk":"@@ -18,130 +18,258 @@\n   <meta property=\"og:description\" content=\"{{ addon.summary|striptags }}\">\n {% endblock %}\n \n-{% block content %}\n-{{ impala_breadcrumbs([(addon.type_url(), amo.ADDON_TYPES[addon.type]),\n-                       (None, addon.name)]) }}\n+{% block header_content %}\n <div itemscope itemtype=\"http://schema.org/WebApplication\">\n   <link itemprop=\"SoftwareApplicationCategory\" href=\"http://schema.org/OtherApplication\" />\n   <aside class=\"secondary addon-vitals\">\n \n-  {# This assumes we'll never charge for add-ons. Ha. #}\n-  <span itemprop=\"offers\" itemscope itemtype=\"http://schema.org/Offer\">\n-    <meta itemprop=\"price\" content=\"$0\" />\n-    <meta itemprop=\"priceCurrency\" content=\"USD\" />\n-    <link itemprop=\"availability\" href=\"http://schema.org/InStock\" />\n-  </span>\n-\n-  <div itemprop=\"aggregateRating\" itemscope=\"\" itemtype=\"http://schema.org/AggregateRating\">\n-    <meta content=\"{{ addon.average_rating }}\" itemprop=\"ratingValue\">\n-    {{ addon.average_rating|stars(large=True) }}\n-\n-    <div>\n-      <a id=\"reviews-link\" href=\"{{ addon.reviews_url }}\">\n-      {% trans cnt=addon.total_reviews, num=addon.total_reviews|numberfmt %}\n-        <span itemprop=\"ratingCount\">{{ num }}</span> user review\n-      {% pluralize %}\n-        <span itemprop=\"ratingCount\">{{ num }}</span> user reviews\n-      {% endtrans %}\n-      </a>\n+    {# This assumes we'll never charge for add-ons. Ha. #}\n+    <span itemprop=\"offers\" itemscope itemtype=\"http://schema.org/Offer\">\n+      <meta itemprop=\"price\" content=\"$0\" />\n+      <meta itemprop=\"priceCurrency\" content=\"USD\" />\n+      <link itemprop=\"availability\" href=\"http://schema.org/InStock\" />\n+    </span>\n+\n+    <div itemprop=\"aggregateRating\" itemscope=\"\" itemtype=\"http://schema.org/AggregateRating\">\n+      <meta content=\"{{ addon.average_rating }}\" itemprop=\"ratingValue\">\n+      {{ addon.average_rating|stars(large=True) }}\n+\n+      <div>\n+        <a id=\"reviews-link\" href=\"{{ addon.reviews_url }}\">\n+        {% trans cnt=addon.total_reviews, num=addon.total_reviews|numberfmt %}","path":"src/olympia/addons/templates/addons/impala/details.html","position":44,"original_position":44,"commit_id":"7cdd70dbb930d998acca376f29152994effd4cb0","original_commit_id":"7cdd70dbb930d998acca376f29152994effd4cb0","user":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"body":"I know but you're in git-blame now :p","created_at":"2016-04-04T20:57:57Z","updated_at":"2016-04-04T20:57:57Z","html_url":"https://github.com/mozilla/addons-server/pull/2159#discussion_r58447625","pull_request_url":"https://api.github.com/repos/mozilla/addons-server/pulls/2159","_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/comments/58447625"},"html":{"href":"https://github.com/mozilla/addons-server/pull/2159#discussion_r58447625"},"pull_request":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/2159"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-server/pulls/2159","id":65015000,"html_url":"https://github.com/mozilla/addons-server/pull/2159","diff_url":"https://github.com/mozilla/addons-server/pull/2159.diff","patch_url":"https://github.com/mozilla/addons-server/pull/2159.patch","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/2159","number":2159,"state":"open","locked":false,"title":"Change markup in restyle to fix header BG issues","user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"body":"Uses different markup in the restyle so the background of the header\r\nis applied to an element that is the parent of the header rather than\r\nthe previous JS calculation method that caused lots of headaches.\r\n\r\n* Fixes #2152\r\n* Fixes #2141\r\n\r\nScreenshots of the fix, so you know it a) looks the same as the old header and b) won't break with a bunch of stuff crammed in the header :smile: \r\n\r\n<img width=\"1360\" alt=\"screenshot 2016-04-02 19 00 48\" src=\"https://cloud.githubusercontent.com/assets/90871/14228173/9f0724f4-f905-11e5-868e-595634c784ff.png\">\r\n<img width=\"1360\" alt=\"screenshot 2016-04-02 19 00 32\" src=\"https://cloud.githubusercontent.com/assets/90871/14228174/9f1dcf9c-f905-11e5-9a4a-4c0f43da2bf0.png\">\r\n<img width=\"1360\" alt=\"screenshot 2016-04-02 19 00 14\" src=\"https://cloud.githubusercontent.com/assets/90871/14228175/9f25aab4-f905-11e5-887e-fb804f438584.png\">\r\n\r\n![apr 02 2016 19 03](https://cloud.githubusercontent.com/assets/90871/14228177/a3506c82-f905-11e5-886b-fc39c6d632c2.gif)\r\n\r\nr?","created_at":"2016-04-01T22:44:26Z","updated_at":"2016-04-04T20:57:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19eeae10ddae0b2cb387532e8c5da1f8b6cafb32","assignee":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/addons-server/pulls/2159/commits","review_comments_url":"https://api.github.com/repos/mozilla/addons-server/pulls/2159/comments","review_comment_url":"https://api.github.com/repos/mozilla/addons-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/2159/comments","statuses_url":"https://api.github.com/repos/mozilla/addons-server/statuses/7cdd70dbb930d998acca376f29152994effd4cb0","head":{"label":"mozilla:fix-background-wrapper-2141","ref":"fix-background-wrapper-2141","sha":"7cdd70dbb930d998acca376f29152994effd4cb0","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":16416867,"name":"addons-server","full_name":"mozilla/addons-server","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/addons-server","description":"addons.mozilla.org Django app","fork":false,"url":"https://api.github.com/repos/mozilla/addons-server","forks_url":"https://api.github.com/repos/mozilla/addons-server/forks","keys_url":"https://api.github.com/repos/mozilla/addons-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/addons-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/addons-server/teams","hooks_url":"https://api.github.com/repos/mozilla/addons-server/hooks","issue_events_url":"https://api.github.com/repos/mozilla/addons-server/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/addons-server/events","assignees_url":"https://api.github.com/repos/mozilla/addons-server/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/addons-server/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/addons-server/tags","blobs_url":"https://api.github.com/repos/mozilla/addons-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/addons-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/addons-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/addons-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/addons-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/addons-server/languages","stargazers_url":"https://api.github.com/repos/mozilla/addons-server/stargazers","contributors_url":"https://api.github.com/repos/mozilla/addons-server/contributors","subscribers_url":"https://api.github.com/repos/mozilla/addons-server/subscribers","subscription_url":"https://api.github.com/repos/mozilla/addons-server/subscription","commits_url":"https://api.github.com/repos/mozilla/addons-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/addons-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/addons-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/addons-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/addons-server/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/addons-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/addons-server/merges","archive_url":"https://api.github.com/repos/mozilla/addons-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/addons-server/downloads","issues_url":"https://api.github.com/repos/mozilla/addons-server/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/addons-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/addons-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/addons-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/addons-server/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/addons-server/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/addons-server/deployments","created_at":"2014-01-31T18:44:15Z","updated_at":"2016-04-04T07:45:55Z","pushed_at":"2016-04-04T20:57:37Z","git_url":"git://github.com/mozilla/addons-server.git","ssh_url":"git@github.com:mozilla/addons-server.git","clone_url":"https://github.com/mozilla/addons-server.git","svn_url":"https://github.com/mozilla/addons-server","homepage":"https://addons.mozilla.org/","size":485104,"stargazers_count":86,"watchers_count":86,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":251,"forks":145,"open_issues":251,"watchers":86,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"09eedcd697bba6440b559f79715a3ea4589cbed4","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":16416867,"name":"addons-server","full_name":"mozilla/addons-server","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/addons-server","description":"addons.mozilla.org Django app","fork":false,"url":"https://api.github.com/repos/mozilla/addons-server","forks_url":"https://api.github.com/repos/mozilla/addons-server/forks","keys_url":"https://api.github.com/repos/mozilla/addons-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/addons-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/addons-server/teams","hooks_url":"https://api.github.com/repos/mozilla/addons-server/hooks","issue_events_url":"https://api.github.com/repos/mozilla/addons-server/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/addons-server/events","assignees_url":"https://api.github.com/repos/mozilla/addons-server/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/addons-server/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/addons-server/tags","blobs_url":"https://api.github.com/repos/mozilla/addons-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/addons-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/addons-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/addons-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/addons-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/addons-server/languages","stargazers_url":"https://api.github.com/repos/mozilla/addons-server/stargazers","contributors_url":"https://api.github.com/repos/mozilla/addons-server/contributors","subscribers_url":"https://api.github.com/repos/mozilla/addons-server/subscribers","subscription_url":"https://api.github.com/repos/mozilla/addons-server/subscription","commits_url":"https://api.github.com/repos/mozilla/addons-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/addons-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/addons-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/addons-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/addons-server/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/addons-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/addons-server/merges","archive_url":"https://api.github.com/repos/mozilla/addons-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/addons-server/downloads","issues_url":"https://api.github.com/repos/mozilla/addons-server/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/addons-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/addons-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/addons-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/addons-server/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/addons-server/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/addons-server/deployments","created_at":"2014-01-31T18:44:15Z","updated_at":"2016-04-04T07:45:55Z","pushed_at":"2016-04-04T20:57:37Z","git_url":"git://github.com/mozilla/addons-server.git","ssh_url":"git@github.com:mozilla/addons-server.git","clone_url":"https://github.com/mozilla/addons-server.git","svn_url":"https://github.com/mozilla/addons-server","homepage":"https://addons.mozilla.org/","size":485104,"stargazers_count":86,"watchers_count":86,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":251,"forks":145,"open_issues":251,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/2159"},"html":{"href":"https://github.com/mozilla/addons-server/pull/2159"},"issue":{"href":"https://api.github.com/repos/mozilla/addons-server/issues/2159"},"comments":{"href":"https://api.github.com/repos/mozilla/addons-server/issues/2159/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/2159/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/addons-server/pulls/2159/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/addons-server/statuses/7cdd70dbb930d998acca376f29152994effd4cb0"}}}}