{"action":"closed","number":4796,"pull_request":{"url":"https://api.github.com/repos/divio/django-cms/pulls/4796","id":52167063,"html_url":"https://github.com/divio/django-cms/pull/4796","diff_url":"https://github.com/divio/django-cms/pull/4796.diff","patch_url":"https://github.com/divio/django-cms/pull/4796.patch","issue_url":"https://api.github.com/repos/divio/django-cms/issues/4796","number":4796,"state":"closed","locked":false,"title":"adds template tag to render dictionary of i18n urls","user":{"login":"czpython","id":994951,"avatar_url":"https://avatars.githubusercontent.com/u/994951?v=3","gravatar_id":"","url":"https://api.github.com/users/czpython","html_url":"https://github.com/czpython","followers_url":"https://api.github.com/users/czpython/followers","following_url":"https://api.github.com/users/czpython/following{/other_user}","gists_url":"https://api.github.com/users/czpython/gists{/gist_id}","starred_url":"https://api.github.com/users/czpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czpython/subscriptions","organizations_url":"https://api.github.com/users/czpython/orgs","repos_url":"https://api.github.com/users/czpython/repos","events_url":"https://api.github.com/users/czpython/events{/privacy}","received_events_url":"https://api.github.com/users/czpython/received_events","type":"User","site_admin":false},"body":"The purpose of this template tag is to expose a dictionary of language codes that maps to the current url per language. This allows the frontend code to easily redirect to the corresponding url without having to have logic on the template or javascript.\r\n\r\nThis addresses an issue where changing the user language in settings does not update the sideframe.\r\n\r\nNeeds frontend work from @vxsx \r\n\r\nFixes #4797","created_at":"2015-11-30T19:23:44Z","updated_at":"2015-12-01T16:35:06Z","closed_at":"2015-12-01T16:35:06Z","merged_at":null,"merge_commit_sha":"e6926e077a2182f995b09bd55524cf10e09f15f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/divio/django-cms/pulls/4796/commits","review_comments_url":"https://api.github.com/repos/divio/django-cms/pulls/4796/comments","review_comment_url":"https://api.github.com/repos/divio/django-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/4796/comments","statuses_url":"https://api.github.com/repos/divio/django-cms/statuses/67f2a4221fc1af12f16de65e8c78bfcf24efa076","head":{"label":"czpython:fixes/add-template-tag-for-i18n-urls","ref":"fixes/add-template-tag-for-i18n-urls","sha":"67f2a4221fc1af12f16de65e8c78bfcf24efa076","user":{"login":"czpython","id":994951,"avatar_url":"https://avatars.githubusercontent.com/u/994951?v=3","gravatar_id":"","url":"https://api.github.com/users/czpython","html_url":"https://github.com/czpython","followers_url":"https://api.github.com/users/czpython/followers","following_url":"https://api.github.com/users/czpython/following{/other_user}","gists_url":"https://api.github.com/users/czpython/gists{/gist_id}","starred_url":"https://api.github.com/users/czpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czpython/subscriptions","organizations_url":"https://api.github.com/users/czpython/orgs","repos_url":"https://api.github.com/users/czpython/repos","events_url":"https://api.github.com/users/czpython/events{/privacy}","received_events_url":"https://api.github.com/users/czpython/received_events","type":"User","site_admin":false},"repo":{"id":7997493,"name":"django-cms","full_name":"czpython/django-cms","owner":{"login":"czpython","id":994951,"avatar_url":"https://avatars.githubusercontent.com/u/994951?v=3","gravatar_id":"","url":"https://api.github.com/users/czpython","html_url":"https://github.com/czpython","followers_url":"https://api.github.com/users/czpython/followers","following_url":"https://api.github.com/users/czpython/following{/other_user}","gists_url":"https://api.github.com/users/czpython/gists{/gist_id}","starred_url":"https://api.github.com/users/czpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czpython/subscriptions","organizations_url":"https://api.github.com/users/czpython/orgs","repos_url":"https://api.github.com/users/czpython/repos","events_url":"https://api.github.com/users/czpython/events{/privacy}","received_events_url":"https://api.github.com/users/czpython/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/czpython/django-cms","description":"An Advanced Django CMS.","fork":true,"url":"https://api.github.com/repos/czpython/django-cms","forks_url":"https://api.github.com/repos/czpython/django-cms/forks","keys_url":"https://api.github.com/repos/czpython/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/czpython/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/czpython/django-cms/teams","hooks_url":"https://api.github.com/repos/czpython/django-cms/hooks","issue_events_url":"https://api.github.com/repos/czpython/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/czpython/django-cms/events","assignees_url":"https://api.github.com/repos/czpython/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/czpython/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/czpython/django-cms/tags","blobs_url":"https://api.github.com/repos/czpython/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/czpython/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/czpython/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/czpython/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/czpython/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/czpython/django-cms/languages","stargazers_url":"https://api.github.com/repos/czpython/django-cms/stargazers","contributors_url":"https://api.github.com/repos/czpython/django-cms/contributors","subscribers_url":"https://api.github.com/repos/czpython/django-cms/subscribers","subscription_url":"https://api.github.com/repos/czpython/django-cms/subscription","commits_url":"https://api.github.com/repos/czpython/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/czpython/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/czpython/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/czpython/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/czpython/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/czpython/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/czpython/django-cms/merges","archive_url":"https://api.github.com/repos/czpython/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/czpython/django-cms/downloads","issues_url":"https://api.github.com/repos/czpython/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/czpython/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/czpython/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/czpython/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/czpython/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/czpython/django-cms/releases{/id}","created_at":"2013-02-03T22:20:19Z","updated_at":"2014-12-16T15:26:14Z","pushed_at":"2015-11-30T19:21:12Z","git_url":"git://github.com/czpython/django-cms.git","ssh_url":"git@github.com:czpython/django-cms.git","clone_url":"https://github.com/czpython/django-cms.git","svn_url":"https://github.com/czpython/django-cms","homepage":"http://www.django-cms.org","size":56725,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"divio:develop","ref":"develop","sha":"f9d62da607e95864b78a6125aae17aa0c04d4dae","user":{"login":"divio","id":117904,"avatar_url":"https://avatars.githubusercontent.com/u/117904?v=3","gravatar_id":"","url":"https://api.github.com/users/divio","html_url":"https://github.com/divio","followers_url":"https://api.github.com/users/divio/followers","following_url":"https://api.github.com/users/divio/following{/other_user}","gists_url":"https://api.github.com/users/divio/gists{/gist_id}","starred_url":"https://api.github.com/users/divio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divio/subscriptions","organizations_url":"https://api.github.com/users/divio/orgs","repos_url":"https://api.github.com/users/divio/repos","events_url":"https://api.github.com/users/divio/events{/privacy}","received_events_url":"https://api.github.com/users/divio/received_events","type":"Organization","site_admin":false},"repo":{"id":143580,"name":"django-cms","full_name":"divio/django-cms","owner":{"login":"divio","id":117904,"avatar_url":"https://avatars.githubusercontent.com/u/117904?v=3","gravatar_id":"","url":"https://api.github.com/users/divio","html_url":"https://github.com/divio","followers_url":"https://api.github.com/users/divio/followers","following_url":"https://api.github.com/users/divio/following{/other_user}","gists_url":"https://api.github.com/users/divio/gists{/gist_id}","starred_url":"https://api.github.com/users/divio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divio/subscriptions","organizations_url":"https://api.github.com/users/divio/orgs","repos_url":"https://api.github.com/users/divio/repos","events_url":"https://api.github.com/users/divio/events{/privacy}","received_events_url":"https://api.github.com/users/divio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/divio/django-cms","description":"The easy-to-use and developer-friendly CMS","fork":false,"url":"https://api.github.com/repos/divio/django-cms","forks_url":"https://api.github.com/repos/divio/django-cms/forks","keys_url":"https://api.github.com/repos/divio/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/divio/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/divio/django-cms/teams","hooks_url":"https://api.github.com/repos/divio/django-cms/hooks","issue_events_url":"https://api.github.com/repos/divio/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/divio/django-cms/events","assignees_url":"https://api.github.com/repos/divio/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/divio/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/divio/django-cms/tags","blobs_url":"https://api.github.com/repos/divio/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/divio/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/divio/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/divio/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/divio/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/divio/django-cms/languages","stargazers_url":"https://api.github.com/repos/divio/django-cms/stargazers","contributors_url":"https://api.github.com/repos/divio/django-cms/contributors","subscribers_url":"https://api.github.com/repos/divio/django-cms/subscribers","subscription_url":"https://api.github.com/repos/divio/django-cms/subscription","commits_url":"https://api.github.com/repos/divio/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/divio/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/divio/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/divio/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/divio/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/divio/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/divio/django-cms/merges","archive_url":"https://api.github.com/repos/divio/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/divio/django-cms/downloads","issues_url":"https://api.github.com/repos/divio/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/divio/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/divio/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/divio/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/divio/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/divio/django-cms/releases{/id}","created_at":"2009-03-05T10:14:18Z","updated_at":"2015-12-01T09:49:45Z","pushed_at":"2015-12-01T15:09:44Z","git_url":"git://github.com/divio/django-cms.git","ssh_url":"git@github.com:divio/django-cms.git","clone_url":"https://github.com/divio/django-cms.git","svn_url":"https://github.com/divio/django-cms","homepage":"http://www.django-cms.org","size":66099,"stargazers_count":3787,"watchers_count":3787,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1460,"mirror_url":null,"open_issues_count":203,"forks":1460,"open_issues":203,"watchers":3787,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/divio/django-cms/pulls/4796"},"html":{"href":"https://github.com/divio/django-cms/pull/4796"},"issue":{"href":"https://api.github.com/repos/divio/django-cms/issues/4796"},"comments":{"href":"https://api.github.com/repos/divio/django-cms/issues/4796/comments"},"review_comments":{"href":"https://api.github.com/repos/divio/django-cms/pulls/4796/comments"},"review_comment":{"href":"https://api.github.com/repos/divio/django-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/divio/django-cms/pulls/4796/commits"},"statuses":{"href":"https://api.github.com/repos/divio/django-cms/statuses/67f2a4221fc1af12f16de65e8c78bfcf24efa076"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":22,"deletions":0,"changed_files":1}}