{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2768","repository_url":"https://api.github.com/repos/OpenTreeMap/otm-core","labels_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2768/labels{/name}","comments_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2768/comments","events_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2768/events","html_url":"https://github.com/OpenTreeMap/otm-core/pull/2768","id":175498540,"number":2768,"title":"Honor embed query string parameter","user":{"login":"RobinIsTheBird","id":1473263,"avatar_url":"https://avatars.githubusercontent.com/u/1473263?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinIsTheBird","html_url":"https://github.com/RobinIsTheBird","followers_url":"https://api.github.com/users/RobinIsTheBird/followers","following_url":"https://api.github.com/users/RobinIsTheBird/following{/other_user}","gists_url":"https://api.github.com/users/RobinIsTheBird/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinIsTheBird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinIsTheBird/subscriptions","organizations_url":"https://api.github.com/users/RobinIsTheBird/orgs","repos_url":"https://api.github.com/users/RobinIsTheBird/repos","events_url":"https://api.github.com/users/RobinIsTheBird/events{/privacy}","received_events_url":"https://api.github.com/users/RobinIsTheBird/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenTreeMap/otm-core/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-07T13:10:49Z","updated_at":"2016-09-07T13:23:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2768","html_url":"https://github.com/OpenTreeMap/otm-core/pull/2768","diff_url":"https://github.com/OpenTreeMap/otm-core/pull/2768.diff","patch_url":"https://github.com/OpenTreeMap/otm-core/pull/2768.patch"},"body":"On map page:\r\n* Add embed context variable.\r\n* Prune header and footer HTML if embed.\r\n* Add an embed class to wrapper.\r\n* Adjust data for Add a Tree or Resource buttons.\r\n* Fix up button anchors\r\n* For embed, don't include the quick edit button.\r\n\r\nStyle:\r\n* Style adjustments for .wrapper.embed.\r\n* Eliminated ambiguous \"map\" css class.\r\n\r\nJavaScript:\r\n* Save the embed query string parameter in the mapPage.\r\n* If embed is true, fix up the add button's href,\r\n  and let the browser do its thing.\r\n* Change Add to open a new tab or window,\r\n  and preserve zoom.\r\n* Change details links to open a new tab or window.\r\n\r\nAdd a test to make sure we still get the page when\r\n?embed= is in the query string.\r\n\r\n--\r\n\r\nConnects to #2736"},"comment":{"url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/comments/245278666","html_url":"https://github.com/OpenTreeMap/otm-core/pull/2768#issuecomment-245278666","issue_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2768","id":245278666,"user":{"login":"RobinIsTheBird","id":1473263,"avatar_url":"https://avatars.githubusercontent.com/u/1473263?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinIsTheBird","html_url":"https://github.com/RobinIsTheBird","followers_url":"https://api.github.com/users/RobinIsTheBird/followers","following_url":"https://api.github.com/users/RobinIsTheBird/following{/other_user}","gists_url":"https://api.github.com/users/RobinIsTheBird/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinIsTheBird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinIsTheBird/subscriptions","organizations_url":"https://api.github.com/users/RobinIsTheBird/orgs","repos_url":"https://api.github.com/users/RobinIsTheBird/repos","events_url":"https://api.github.com/users/RobinIsTheBird/events{/privacy}","received_events_url":"https://api.github.com/users/RobinIsTheBird/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T13:23:20Z","updated_at":"2016-09-07T13:23:20Z","body":"Note, travis is still failing on flake8 of exporter/tests, nothing to do with this change. Everything else passes."}}
{"actor":{"display_login":"RobinIsTheBird"}}