{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/bedrock/issues/3797","labels_url":"https://api.github.com/repos/mozilla/bedrock/issues/3797/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/bedrock/issues/3797/comments","events_url":"https://api.github.com/repos/mozilla/bedrock/issues/3797/events","html_url":"https://github.com/mozilla/bedrock/pull/3797","id":127934366,"number":3797,"title":"[fix bug 1222986] Simplify conditional home page promos","user":{"login":"alexgibson","id":400117,"avatar_url":"https://avatars.githubusercontent.com/u/400117?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgibson","html_url":"https://github.com/alexgibson","followers_url":"https://api.github.com/users/alexgibson/followers","following_url":"https://api.github.com/users/alexgibson/following{/other_user}","gists_url":"https://api.github.com/users/alexgibson/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgibson/subscriptions","organizations_url":"https://api.github.com/users/alexgibson/orgs","repos_url":"https://api.github.com/users/alexgibson/repos","events_url":"https://api.github.com/users/alexgibson/events{/privacy}","received_events_url":"https://api.github.com/users/alexgibson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/bedrock/labels/Do%20Not%20Merge","name":"Do Not Merge","color":"eb6420"},{"url":"https://api.github.com/repos/mozilla/bedrock/labels/L10N","name":"L10N","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-21T14:22:16Z","updated_at":"2016-01-28T11:38:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/3797","html_url":"https://github.com/mozilla/bedrock/pull/3797","diff_url":"https://github.com/mozilla/bedrock/pull/3797.diff","patch_url":"https://github.com/mozilla/bedrock/pull/3797.patch"},"body":"Still waiting on confirmation that the promos/locations/colours are all correct.\r\n\r\nThis PR removes much of the spaghetti logic and moves to a simpler solution for l10n. At maximum there will only ever be two possible promos in any given spot. The fallback promos are considered \"evergreen\" and will never change. When a new promo is added to a spot, the previous \"non evergreen\" promo is to be removed. This way we avoid the continual build up of promos, which will make maintenance simpler and localization easier to manage."},"comment":{"url":"https://api.github.com/repos/mozilla/bedrock/issues/comments/176137853","html_url":"https://github.com/mozilla/bedrock/pull/3797#issuecomment-176137853","issue_url":"https://api.github.com/repos/mozilla/bedrock/issues/3797","id":176137853,"user":{"login":"flodolo","id":3644868,"avatar_url":"https://avatars.githubusercontent.com/u/3644868?v=3","gravatar_id":"","url":"https://api.github.com/users/flodolo","html_url":"https://github.com/flodolo","followers_url":"https://api.github.com/users/flodolo/followers","following_url":"https://api.github.com/users/flodolo/following{/other_user}","gists_url":"https://api.github.com/users/flodolo/gists{/gist_id}","starred_url":"https://api.github.com/users/flodolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flodolo/subscriptions","organizations_url":"https://api.github.com/users/flodolo/orgs","repos_url":"https://api.github.com/users/flodolo/repos","events_url":"https://api.github.com/users/flodolo/events{/privacy}","received_events_url":"https://api.github.com/users/flodolo/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T11:38:01Z","updated_at":"2016-01-28T11:38:01Z","body":"> Whatever we need to do we can. Your call on how & when thanks.\r\nI think the easiest way is to disable all the incomplete locales, then cleanup the file after this code has moved to production."}}