{"action":"created","comment":{"url":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments/220336304","pull_request_review_id":158721738,"id":220336304,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDMzNjMwNA==","diff_hunk":"@@ -191,4 +193,26 @@ defmodule BlockScoutWeb.AddressView do\n       truncate: truncate\n     }\n   end\n+\n+  @doc \"\"\"\n+  Get the current tab name/title from the request path and possible tab names.\n+\n+  The tabs on mobile are represented by a dropdown list, which has a title. This title is the\n+  currently selected tab name. This function returns that name, properly gettext'ed.\n+\n+  The list of possible tab names for this page is repesented by the attribute @tab.\n+\n+  Raises error if there is no match, so a developer of a new tab must include it in the list.\n+  \"\"\"\n+  def current_tab_name(request_path) do","path":"apps/block_scout_web/lib/block_scout_web/views/address_view.ex","position":24,"original_position":24,"commit_id":"64b0ebc76bbda951ae51074e91ea898209e1d931","original_commit_id":"64b0ebc76bbda951ae51074e91ea898209e1d931","user":{"login":"Lucasnar","id":10884247,"node_id":"MDQ6VXNlcjEwODg0MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/10884247?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucasnar","html_url":"https://github.com/Lucasnar","followers_url":"https://api.github.com/users/Lucasnar/followers","following_url":"https://api.github.com/users/Lucasnar/following{/other_user}","gists_url":"https://api.github.com/users/Lucasnar/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucasnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucasnar/subscriptions","organizations_url":"https://api.github.com/users/Lucasnar/orgs","repos_url":"https://api.github.com/users/Lucasnar/repos","events_url":"https://api.github.com/users/Lucasnar/events{/privacy}","received_events_url":"https://api.github.com/users/Lucasnar/received_events","type":"User","site_admin":false},"body":"Yeah, I forgot. Thanks for noticing.","created_at":"2018-09-25T20:06:25Z","updated_at":"2018-09-25T20:06:25Z","html_url":"https://github.com/poanetwork/blockscout/pull/803#discussion_r220336304","pull_request_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/803","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments/220336304"},"html":{"href":"https://github.com/poanetwork/blockscout/pull/803#discussion_r220336304"},"pull_request":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/803"}},"in_reply_to_id":220334491},"pull_request":{"url":"https://api.github.com/repos/poanetwork/blockscout/pulls/803","id":218066033,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDY2MDMz","html_url":"https://github.com/poanetwork/blockscout/pull/803","diff_url":"https://github.com/poanetwork/blockscout/pull/803.diff","patch_url":"https://github.com/poanetwork/blockscout/pull/803.patch","issue_url":"https://api.github.com/repos/poanetwork/blockscout/issues/803","number":803,"state":"open","locked":false,"title":"Remove duplicated template code from Address page","user":{"login":"Lucasnar","id":10884247,"node_id":"MDQ6VXNlcjEwODg0MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/10884247?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucasnar","html_url":"https://github.com/Lucasnar","followers_url":"https://api.github.com/users/Lucasnar/followers","following_url":"https://api.github.com/users/Lucasnar/following{/other_user}","gists_url":"https://api.github.com/users/Lucasnar/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucasnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucasnar/subscriptions","organizations_url":"https://api.github.com/users/Lucasnar/orgs","repos_url":"https://api.github.com/users/Lucasnar/repos","events_url":"https://api.github.com/users/Lucasnar/events{/privacy}","received_events_url":"https://api.github.com/users/Lucasnar/received_events","type":"User","site_admin":false},"body":"Resolves https://github.com/poanetwork/blockscout/issues/779.\r\n\r\nThe code that defines the card header, where the tab links are, was\r\nbeing repeated in every tab. This commit moves this code to a partial\r\nand uses the TabHelper to get the currently active tab.\r\n","created_at":"2018-09-25T17:50:31Z","updated_at":"2018-09-25T20:06:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5720c907a47ec88ec141a268e89ad319c7a25b65","assignee":{"login":"Lucasnar","id":10884247,"node_id":"MDQ6VXNlcjEwODg0MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/10884247?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucasnar","html_url":"https://github.com/Lucasnar","followers_url":"https://api.github.com/users/Lucasnar/followers","following_url":"https://api.github.com/users/Lucasnar/following{/other_user}","gists_url":"https://api.github.com/users/Lucasnar/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucasnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucasnar/subscriptions","organizations_url":"https://api.github.com/users/Lucasnar/orgs","repos_url":"https://api.github.com/users/Lucasnar/repos","events_url":"https://api.github.com/users/Lucasnar/events{/privacy}","received_events_url":"https://api.github.com/users/Lucasnar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lucasnar","id":10884247,"node_id":"MDQ6VXNlcjEwODg0MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/10884247?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucasnar","html_url":"https://github.com/Lucasnar","followers_url":"https://api.github.com/users/Lucasnar/followers","following_url":"https://api.github.com/users/Lucasnar/following{/other_user}","gists_url":"https://api.github.com/users/Lucasnar/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucasnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucasnar/subscriptions","organizations_url":"https://api.github.com/users/Lucasnar/orgs","repos_url":"https://api.github.com/users/Lucasnar/repos","events_url":"https://api.github.com/users/Lucasnar/events{/privacy}","received_events_url":"https://api.github.com/users/Lucasnar/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":859573185,"node_id":"MDU6TGFiZWw4NTk1NzMxODU=","url":"https://api.github.com/repos/poanetwork/blockscout/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":995399849,"node_id":"MDU6TGFiZWw5OTUzOTk4NDk=","url":"https://api.github.com/repos/poanetwork/blockscout/labels/ready%20for%20review","name":"ready for review","color":"f274f0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/803/commits","review_comments_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/803/comments","review_comment_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/issues/803/comments","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/64b0ebc76bbda951ae51074e91ea898209e1d931","head":{"label":"poanetwork:ln-remove-duplicated-tab-code-from-address-page","ref":"ln-remove-duplicated-tab-code-from-address-page","sha":"64b0ebc76bbda951ae51074e91ea898209e1d931","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":117294980,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyOTQ5ODA=","name":"blockscout","full_name":"poanetwork/blockscout","private":false,"owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poanetwork/blockscout","description":"A tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum networks.","fork":false,"url":"https://api.github.com/repos/poanetwork/blockscout","forks_url":"https://api.github.com/repos/poanetwork/blockscout/forks","keys_url":"https://api.github.com/repos/poanetwork/blockscout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/blockscout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/blockscout/teams","hooks_url":"https://api.github.com/repos/poanetwork/blockscout/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/blockscout/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/blockscout/events","assignees_url":"https://api.github.com/repos/poanetwork/blockscout/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/blockscout/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/blockscout/tags","blobs_url":"https://api.github.com/repos/poanetwork/blockscout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/blockscout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/blockscout/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/blockscout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/blockscout/languages","stargazers_url":"https://api.github.com/repos/poanetwork/blockscout/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/blockscout/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/blockscout/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/blockscout/subscription","commits_url":"https://api.github.com/repos/poanetwork/blockscout/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/blockscout/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/blockscout/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/blockscout/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/blockscout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/blockscout/merges","archive_url":"https://api.github.com/repos/poanetwork/blockscout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/blockscout/downloads","issues_url":"https://api.github.com/repos/poanetwork/blockscout/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/blockscout/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/blockscout/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/blockscout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/blockscout/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/blockscout/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/blockscout/deployments","created_at":"2018-01-12T22:45:24Z","updated_at":"2018-09-25T19:59:42Z","pushed_at":"2018-09-25T20:01:00Z","git_url":"git://github.com/poanetwork/blockscout.git","ssh_url":"git@github.com:poanetwork/blockscout.git","clone_url":"https://github.com/poanetwork/blockscout.git","svn_url":"https://github.com/poanetwork/blockscout","homepage":"","size":7234,"stargazers_count":170,"watchers_count":170,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":60,"open_issues":152,"watchers":170,"default_branch":"master"}},"base":{"label":"poanetwork:master","ref":"master","sha":"233bbf95de05560c6ef038203595d1ad09746f6b","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":117294980,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyOTQ5ODA=","name":"blockscout","full_name":"poanetwork/blockscout","private":false,"owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poanetwork/blockscout","description":"A tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum networks.","fork":false,"url":"https://api.github.com/repos/poanetwork/blockscout","forks_url":"https://api.github.com/repos/poanetwork/blockscout/forks","keys_url":"https://api.github.com/repos/poanetwork/blockscout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/blockscout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/blockscout/teams","hooks_url":"https://api.github.com/repos/poanetwork/blockscout/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/blockscout/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/blockscout/events","assignees_url":"https://api.github.com/repos/poanetwork/blockscout/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/blockscout/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/blockscout/tags","blobs_url":"https://api.github.com/repos/poanetwork/blockscout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/blockscout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/blockscout/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/blockscout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/blockscout/languages","stargazers_url":"https://api.github.com/repos/poanetwork/blockscout/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/blockscout/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/blockscout/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/blockscout/subscription","commits_url":"https://api.github.com/repos/poanetwork/blockscout/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/blockscout/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/blockscout/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/blockscout/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/blockscout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/blockscout/merges","archive_url":"https://api.github.com/repos/poanetwork/blockscout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/blockscout/downloads","issues_url":"https://api.github.com/repos/poanetwork/blockscout/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/blockscout/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/blockscout/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/blockscout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/blockscout/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/blockscout/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/blockscout/deployments","created_at":"2018-01-12T22:45:24Z","updated_at":"2018-09-25T19:59:42Z","pushed_at":"2018-09-25T20:01:00Z","git_url":"git://github.com/poanetwork/blockscout.git","ssh_url":"git@github.com:poanetwork/blockscout.git","clone_url":"https://github.com/poanetwork/blockscout.git","svn_url":"https://github.com/poanetwork/blockscout","homepage":"","size":7234,"stargazers_count":170,"watchers_count":170,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":60,"open_issues":152,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/803"},"html":{"href":"https://github.com/poanetwork/blockscout/pull/803"},"issue":{"href":"https://api.github.com/repos/poanetwork/blockscout/issues/803"},"comments":{"href":"https://api.github.com/repos/poanetwork/blockscout/issues/803/comments"},"review_comments":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/803/comments"},"review_comment":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/803/commits"},"statuses":{"href":"https://api.github.com/repos/poanetwork/blockscout/statuses/64b0ebc76bbda951ae51074e91ea898209e1d931"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Lucasnar"}}