{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/frontend/pulls/comments/42389639","id":42389639,"diff_hunk":"@@ -40,9 +40,34 @@\n     </div>\n \n     <div class=\"l-footer__secondary gs-container\" role=\"contentinfo\">\n-        @if(!amp) {\n-            <ul class=\"colophon u-cf\">\n-            @defining(Edition(request)) { currentEdition =>\n+        <ul class=\"colophon u-cf\">\n+        @defining(Edition(request)) { currentEdition =>\n+            @if(amp) {\n+                @if(currentEdition == Uk) {\n+                    <li class=\"colophon__item\"><a data-link-name=\"uk : footer : contact us\" href=\"@LinkTo {/help/contact-us}\">\n+                        contact us</a></li>\n+                    <li class=\"colophon__item\"><a data-link-name=\"uk : footer : jobs\" href=\"http://jobs.theguardian.com/?INTCMP=NGW_FOOTER_UK_GU_JOBS\">\n+                        jobs</a></li>\n+                }\n+                @if(currentEdition == Us) {\n+                    <li class=\"colophon__item\"><a data-link-name=\"us : footer : contact us\" href=\"@LinkTo {/info/about-guardian-us/contact}\">\n+                        contact us</a></li>\n+                    <li class=\"colophon__item\"><a data-link-name=\"us : footer : jobs\" href=\"http://jobs.theguardian.com/?INTCMP=NGW_FOOTER_US_GU_JOBS\">\n+                        jobs</a></li>\n+                }\n+                @if(currentEdition == Au) {\n+                    <li class=\"colophon__item\"><a data-link-name=\"au : footer : contact us\" href=\"@LinkTo {/info/2013/may/26/contact-guardian-australia}\">\n+                        contact us</a></li>\n+                    <li class=\"colophon__item\"><a data-link-name=\"au : footer : vacancies\" href=\"@LinkTo {/info/2014/aug/11/guardian-australia-vacancies}\">\n+                        vacancies</a></li>\n+                }\n+                <li class=\"colophon__item\"><a data-link-name=\"terms\" href=\"@LinkTo {/help/terms-of-service}\">\n+                    terms &amp; conditions</a></li>\n+                @if(currentEdition != Au) {\n+                    <li class=\"colophon__item\"><a data-link-name=\"complaints\" href=\"@LinkTo {/info/complaints-and-corrections}\">\n+                        complaints &amp; corrections</a></li>\n+                }","path":"common/app/views/fragments/footer.scala.html","position":33,"original_position":33,"commit_id":"f228eb7cf1732a2409558f05bf9a61ab7c8fd8ca","original_commit_id":"f228eb7cf1732a2409558f05bf9a61ab7c8fd8ca","user":{"login":"NataliaLKB","id":8774970,"avatar_url":"https://avatars.githubusercontent.com/u/8774970?v=3","gravatar_id":"","url":"https://api.github.com/users/NataliaLKB","html_url":"https://github.com/NataliaLKB","followers_url":"https://api.github.com/users/NataliaLKB/followers","following_url":"https://api.github.com/users/NataliaLKB/following{/other_user}","gists_url":"https://api.github.com/users/NataliaLKB/gists{/gist_id}","starred_url":"https://api.github.com/users/NataliaLKB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NataliaLKB/subscriptions","organizations_url":"https://api.github.com/users/NataliaLKB/orgs","repos_url":"https://api.github.com/users/NataliaLKB/repos","events_url":"https://api.github.com/users/NataliaLKB/events{/privacy}","received_events_url":"https://api.github.com/users/NataliaLKB/received_events","type":"User","site_admin":false},"body":"Aware of the duplication, but thought it was the cleaner way of distinguishing what will display on AMP.","created_at":"2015-10-19T15:59:29Z","updated_at":"2015-10-19T15:59:29Z","html_url":"https://github.com/guardian/frontend/pull/10906#discussion_r42389639","pull_request_url":"https://api.github.com/repos/guardian/frontend/pulls/10906","_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments/42389639"},"html":{"href":"https://github.com/guardian/frontend/pull/10906#discussion_r42389639"},"pull_request":{"href":"https://api.github.com/repos/guardian/frontend/pulls/10906"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/10906","id":48090817,"html_url":"https://github.com/guardian/frontend/pull/10906","diff_url":"https://github.com/guardian/frontend/pull/10906.diff","patch_url":"https://github.com/guardian/frontend/pull/10906.patch","issue_url":"https://api.github.com/repos/guardian/frontend/issues/10906","number":10906,"state":"open","locked":false,"title":"Amp footer links","user":{"login":"NataliaLKB","id":8774970,"avatar_url":"https://avatars.githubusercontent.com/u/8774970?v=3","gravatar_id":"","url":"https://api.github.com/users/NataliaLKB","html_url":"https://github.com/NataliaLKB","followers_url":"https://api.github.com/users/NataliaLKB/followers","following_url":"https://api.github.com/users/NataliaLKB/following{/other_user}","gists_url":"https://api.github.com/users/NataliaLKB/gists{/gist_id}","starred_url":"https://api.github.com/users/NataliaLKB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NataliaLKB/subscriptions","organizations_url":"https://api.github.com/users/NataliaLKB/orgs","repos_url":"https://api.github.com/users/NataliaLKB/repos","events_url":"https://api.github.com/users/NataliaLKB/events{/privacy}","received_events_url":"https://api.github.com/users/NataliaLKB/received_events","type":"User","site_admin":false},"body":"Adding the four most clicked links on the AMP pages. Based off of new users. Also corrected a bit of styling.\r\n\r\n##### Before:\r\n![image](https://cloud.githubusercontent.com/assets/8774970/10579384/a2dd907c-766f-11e5-98a4-7439c82581b9.png)\r\n\r\n\r\n##### After:\r\n![image](https://cloud.githubusercontent.com/assets/8774970/10579288/2574790c-766f-11e5-8453-2cece983873c.png)","created_at":"2015-10-19T15:57:16Z","updated_at":"2015-10-19T15:59:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d6620c6449fea69f63c15f890ec35d197f5f381","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/frontend/pulls/10906/commits","review_comments_url":"https://api.github.com/repos/guardian/frontend/pulls/10906/comments","review_comment_url":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/10906/comments","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/f228eb7cf1732a2409558f05bf9a61ab7c8fd8ca","head":{"label":"guardian:amp-footer-links","ref":"amp-footer-links","sha":"f228eb7cf1732a2409558f05bf9a61ab7c8fd8ca","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"name":"frontend","full_name":"guardian/frontend","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/frontend","description":"Source for theguardian.com","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","created_at":"2012-05-18T15:39:15Z","updated_at":"2015-10-18T13:41:57Z","pushed_at":"2015-10-19T15:58:31Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"http://www.theguardian.com","size":516661,"stargazers_count":2970,"watchers_count":2970,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":294,"mirror_url":null,"open_issues_count":42,"forks":294,"open_issues":42,"watchers":2970,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"db85045c37fa67a11fd182ed912e23981c9e3967","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"name":"frontend","full_name":"guardian/frontend","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/frontend","description":"Source for theguardian.com","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","created_at":"2012-05-18T15:39:15Z","updated_at":"2015-10-18T13:41:57Z","pushed_at":"2015-10-19T15:58:31Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"http://www.theguardian.com","size":516661,"stargazers_count":2970,"watchers_count":2970,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":294,"mirror_url":null,"open_issues_count":42,"forks":294,"open_issues":42,"watchers":2970,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/10906"},"html":{"href":"https://github.com/guardian/frontend/pull/10906"},"issue":{"href":"https://api.github.com/repos/guardian/frontend/issues/10906"},"comments":{"href":"https://api.github.com/repos/guardian/frontend/issues/10906/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/frontend/pulls/10906/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/frontend/pulls/10906/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/frontend/statuses/f228eb7cf1732a2409558f05bf9a61ab7c8fd8ca"}}}}