{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/comments/47227425","id":47227425,"diff_hunk":"@@ -25,8 +25,39 @@\n   <div class=\"container\">\n     <div class=\"row\">\n       <div class=\"col-sm-12 col-md-12\" style=\"text-align: right;\">\n-      <hr />\n-      {% trans link=\"http://inveniosoftware.org\" %}Powered by <a href=\"{{link}}\">Invenio</a>{% endtrans %}\n+\n+        <hr />\n+\n+        <ul class=\"list-inline\">\n+          {% if config['I18N_LANGUAGES'] %}\n+            {% from \"invenio_i18n/macros/language_selector.html\" import language_render %}\n+            <li>\n+              <div class=\"dropdown float-right\">\n+                <button class=\"btn btn-default dropdown-toggle\" type=\"button\"\n+                      data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"true\">\n+                  {% trans %} Language {% endtrans %}","path":"invenio_theme/templates/invenio_theme/footer.html","position":16,"original_position":16,"commit_id":"aa153672de00a70479389dd3b850d549ad958f4e","original_commit_id":"aa153672de00a70479389dd3b850d549ad958f4e","user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"body":"there should not be space around `Language` inside `{% trans %}`","created_at":"2015-12-10T13:51:13Z","updated_at":"2015-12-10T13:51:13Z","html_url":"https://github.com/inveniosoftware/invenio-theme/pull/26#discussion_r47227425","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/comments/47227425"},"html":{"href":"https://github.com/inveniosoftware/invenio-theme/pull/26#discussion_r47227425"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26","id":53253495,"html_url":"https://github.com/inveniosoftware/invenio-theme/pull/26","diff_url":"https://github.com/inveniosoftware/invenio-theme/pull/26.diff","patch_url":"https://github.com/inveniosoftware/invenio-theme/pull/26.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/26","number":26,"state":"open","locked":false,"title":"templates: addition of language selector","user":{"login":"JavierDelgadoFernandez","id":6481083,"avatar_url":"https://avatars.githubusercontent.com/u/6481083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierDelgadoFernandez","html_url":"https://github.com/JavierDelgadoFernandez","followers_url":"https://api.github.com/users/JavierDelgadoFernandez/followers","following_url":"https://api.github.com/users/JavierDelgadoFernandez/following{/other_user}","gists_url":"https://api.github.com/users/JavierDelgadoFernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierDelgadoFernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierDelgadoFernandez/subscriptions","organizations_url":"https://api.github.com/users/JavierDelgadoFernandez/orgs","repos_url":"https://api.github.com/users/JavierDelgadoFernandez/repos","events_url":"https://api.github.com/users/JavierDelgadoFernandez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierDelgadoFernandez/received_events","type":"User","site_admin":false},"body":"* Adds a drop down to the template (inside the footer section) to set\r\n  the language of the session.\r\n\r\nSigned-off-by: Javier Delgado <javier.delgado.fernandez@cern.ch>","created_at":"2015-12-10T12:42:48Z","updated_at":"2015-12-10T13:51:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd93b56e914713832ca09b7cdc6b058d670eefd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/26/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/statuses/aa153672de00a70479389dd3b850d549ad958f4e","head":{"label":"JavierDelgadoFernandez:language_selector","ref":"language_selector","sha":"aa153672de00a70479389dd3b850d549ad958f4e","user":{"login":"JavierDelgadoFernandez","id":6481083,"avatar_url":"https://avatars.githubusercontent.com/u/6481083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierDelgadoFernandez","html_url":"https://github.com/JavierDelgadoFernandez","followers_url":"https://api.github.com/users/JavierDelgadoFernandez/followers","following_url":"https://api.github.com/users/JavierDelgadoFernandez/following{/other_user}","gists_url":"https://api.github.com/users/JavierDelgadoFernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierDelgadoFernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierDelgadoFernandez/subscriptions","organizations_url":"https://api.github.com/users/JavierDelgadoFernandez/orgs","repos_url":"https://api.github.com/users/JavierDelgadoFernandez/repos","events_url":"https://api.github.com/users/JavierDelgadoFernandez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierDelgadoFernandez/received_events","type":"User","site_admin":false},"repo":{"id":45193097,"name":"invenio-theme","full_name":"JavierDelgadoFernandez/invenio-theme","owner":{"login":"JavierDelgadoFernandez","id":6481083,"avatar_url":"https://avatars.githubusercontent.com/u/6481083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavierDelgadoFernandez","html_url":"https://github.com/JavierDelgadoFernandez","followers_url":"https://api.github.com/users/JavierDelgadoFernandez/followers","following_url":"https://api.github.com/users/JavierDelgadoFernandez/following{/other_user}","gists_url":"https://api.github.com/users/JavierDelgadoFernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/JavierDelgadoFernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavierDelgadoFernandez/subscriptions","organizations_url":"https://api.github.com/users/JavierDelgadoFernandez/orgs","repos_url":"https://api.github.com/users/JavierDelgadoFernandez/repos","events_url":"https://api.github.com/users/JavierDelgadoFernandez/events{/privacy}","received_events_url":"https://api.github.com/users/JavierDelgadoFernandez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JavierDelgadoFernandez/invenio-theme","description":"Invenio standard theme.","fork":true,"url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme","forks_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/forks","keys_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/teams","hooks_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/hooks","issue_events_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/issues/events{/number}","events_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/events","assignees_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/assignees{/user}","branches_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/branches{/branch}","tags_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/tags","blobs_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/languages","stargazers_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/stargazers","contributors_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/contributors","subscribers_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/subscribers","subscription_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/subscription","commits_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/contents/{+path}","compare_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/merges","archive_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/downloads","issues_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/issues{/number}","pulls_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/labels{/name}","releases_url":"https://api.github.com/repos/JavierDelgadoFernandez/invenio-theme/releases{/id}","created_at":"2015-10-29T15:41:39Z","updated_at":"2015-10-29T15:41:39Z","pushed_at":"2015-12-10T12:41:14Z","git_url":"git://github.com/JavierDelgadoFernandez/invenio-theme.git","ssh_url":"git@github.com:JavierDelgadoFernandez/invenio-theme.git","clone_url":"https://github.com/JavierDelgadoFernandez/invenio-theme.git","svn_url":"https://github.com/JavierDelgadoFernandez/invenio-theme","homepage":"","size":100,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inveniosoftware:master","ref":"master","sha":"acbf4a5bdf3ed21bc9f1cee0fc2da0a4cbc2ecd2","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":43695459,"name":"invenio-theme","full_name":"inveniosoftware/invenio-theme","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio-theme","description":"Invenio standard theme.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio-theme","forks_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio-theme/releases{/id}","created_at":"2015-10-05T15:45:22Z","updated_at":"2015-12-04T12:08:56Z","pushed_at":"2015-12-10T12:42:49Z","git_url":"git://github.com/inveniosoftware/invenio-theme.git","ssh_url":"git@github.com:inveniosoftware/invenio-theme.git","clone_url":"https://github.com/inveniosoftware/invenio-theme.git","svn_url":"https://github.com/inveniosoftware/invenio-theme","homepage":"","size":102,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26"},"html":{"href":"https://github.com/inveniosoftware/invenio-theme/pull/26"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/26"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio-theme/statuses/aa153672de00a70479389dd3b850d549ad958f4e"}}}}