{"action":"created","comment":{"url":"https://api.github.com/repos/paetz/yacguide/pulls/comments/239935376","pull_request_review_id":182858221,"id":239935376,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTkzNTM3Ng==","diff_hunk":"@@ -67,35 +131,95 @@ public void goToAscends(View v) {\n \n     @Override\n     protected void displayContent() {\n-        Button ascendsButton = findViewById(R.id.ascendsButton);\n-        ascendsButton.setText(_route.getAscendCount() + \" Begehung(en)\");\n+        ImageButton ascendsButton = findViewById(R.id.ascendsButton);\n         ascendsButton.setVisibility(_route.getAscendCount() > 0 ? View.VISIBLE : View.INVISIBLE);\n \n         LinearLayout layout = findViewById(R.id.tableLayout);\n         layout.removeAllViews();\n         this.setTitle(_route.getName() + \"   \" + _route.getGrade());\n-        TextView descView = new TextView(this);\n-        descView.setText(_route.getDescription());\n-        descView.setTypeface(null, Typeface.BOLD);\n-        descView.setBackgroundColor(Color.WHITE);\n-        descView.setPadding(20,20,20,20);\n-        layout.addView(descView);\n-\n-        for (final Comment comment : db.commentDao().getAll(_route.getId())) {\n-            layout.addView(WidgetUtils.createHorizontalLine(this, 5));\n+        String firstAscendClimbers = _route.getFirstAscendLeader().isEmpty()\n+                ? \"Erstbegeher unbekannt\"\n+                : _route.getFirstAscendLeader();\n+        firstAscendClimbers += _route.getFirstAscendFollower().isEmpty()","path":"app/src/main/java/com/example/paetz/yacguide/DescriptionActivity.java","position":129,"original_position":129,"commit_id":"a9a4843b8fce95cb1e85bfd9a0d6e81593e97856","original_commit_id":"a9a4843b8fce95cb1e85bfd9a0d6e81593e97856","user":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"body":"final","created_at":"2018-12-07T20:21:07Z","updated_at":"2018-12-07T20:33:10Z","html_url":"https://github.com/paetz/yacguide/pull/20#discussion_r239935376","pull_request_url":"https://api.github.com/repos/paetz/yacguide/pulls/20","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/comments/239935376"},"html":{"href":"https://github.com/paetz/yacguide/pull/20#discussion_r239935376"},"pull_request":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/paetz/yacguide/pulls/20","id":236982443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2OTgyNDQz","html_url":"https://github.com/paetz/yacguide/pull/20","diff_url":"https://github.com/paetz/yacguide/pull/20.diff","patch_url":"https://github.com/paetz/yacguide/pull/20.patch","issue_url":"https://api.github.com/repos/paetz/yacguide/issues/20","number":20,"state":"open","locked":false,"title":"Added support for region, sector, rock and route comments","user":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-07T20:17:49Z","updated_at":"2018-12-07T20:33:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bb5814c707bed8c77566cd235c14673103575b9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/paetz/yacguide/pulls/20/commits","review_comments_url":"https://api.github.com/repos/paetz/yacguide/pulls/20/comments","review_comment_url":"https://api.github.com/repos/paetz/yacguide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paetz/yacguide/issues/20/comments","statuses_url":"https://api.github.com/repos/paetz/yacguide/statuses/a9a4843b8fce95cb1e85bfd9a0d6e81593e97856","head":{"label":"paetz:feature/add_missing_comments_to_db","ref":"feature/add_missing_comments_to_db","sha":"a9a4843b8fce95cb1e85bfd9a0d6e81593e97856","user":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"repo":{"id":157854639,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc4NTQ2Mzk=","name":"yacguide","full_name":"paetz/yacguide","private":false,"owner":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/paetz/yacguide","description":"yet another climbing guide - offline tool for sandsteinklettern.de","fork":false,"url":"https://api.github.com/repos/paetz/yacguide","forks_url":"https://api.github.com/repos/paetz/yacguide/forks","keys_url":"https://api.github.com/repos/paetz/yacguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paetz/yacguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paetz/yacguide/teams","hooks_url":"https://api.github.com/repos/paetz/yacguide/hooks","issue_events_url":"https://api.github.com/repos/paetz/yacguide/issues/events{/number}","events_url":"https://api.github.com/repos/paetz/yacguide/events","assignees_url":"https://api.github.com/repos/paetz/yacguide/assignees{/user}","branches_url":"https://api.github.com/repos/paetz/yacguide/branches{/branch}","tags_url":"https://api.github.com/repos/paetz/yacguide/tags","blobs_url":"https://api.github.com/repos/paetz/yacguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paetz/yacguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paetz/yacguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/paetz/yacguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paetz/yacguide/statuses/{sha}","languages_url":"https://api.github.com/repos/paetz/yacguide/languages","stargazers_url":"https://api.github.com/repos/paetz/yacguide/stargazers","contributors_url":"https://api.github.com/repos/paetz/yacguide/contributors","subscribers_url":"https://api.github.com/repos/paetz/yacguide/subscribers","subscription_url":"https://api.github.com/repos/paetz/yacguide/subscription","commits_url":"https://api.github.com/repos/paetz/yacguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/paetz/yacguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/paetz/yacguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/paetz/yacguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/paetz/yacguide/contents/{+path}","compare_url":"https://api.github.com/repos/paetz/yacguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paetz/yacguide/merges","archive_url":"https://api.github.com/repos/paetz/yacguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paetz/yacguide/downloads","issues_url":"https://api.github.com/repos/paetz/yacguide/issues{/number}","pulls_url":"https://api.github.com/repos/paetz/yacguide/pulls{/number}","milestones_url":"https://api.github.com/repos/paetz/yacguide/milestones{/number}","notifications_url":"https://api.github.com/repos/paetz/yacguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paetz/yacguide/labels{/name}","releases_url":"https://api.github.com/repos/paetz/yacguide/releases{/id}","deployments_url":"https://api.github.com/repos/paetz/yacguide/deployments","created_at":"2018-11-16T10:53:43Z","updated_at":"2018-12-04T20:17:51Z","pushed_at":"2018-12-07T20:17:49Z","git_url":"git://github.com/paetz/yacguide.git","ssh_url":"git@github.com:paetz/yacguide.git","clone_url":"https://github.com/paetz/yacguide.git","svn_url":"https://github.com/paetz/yacguide","homepage":null,"size":608,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"paetz:master","ref":"master","sha":"8c32f9a9dd8eab5d0dd9605c18d12dfcf51a6a5e","user":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"repo":{"id":157854639,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc4NTQ2Mzk=","name":"yacguide","full_name":"paetz/yacguide","private":false,"owner":{"login":"paetz","id":45095788,"node_id":"MDQ6VXNlcjQ1MDk1Nzg4","avatar_url":"https://avatars0.githubusercontent.com/u/45095788?v=4","gravatar_id":"","url":"https://api.github.com/users/paetz","html_url":"https://github.com/paetz","followers_url":"https://api.github.com/users/paetz/followers","following_url":"https://api.github.com/users/paetz/following{/other_user}","gists_url":"https://api.github.com/users/paetz/gists{/gist_id}","starred_url":"https://api.github.com/users/paetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paetz/subscriptions","organizations_url":"https://api.github.com/users/paetz/orgs","repos_url":"https://api.github.com/users/paetz/repos","events_url":"https://api.github.com/users/paetz/events{/privacy}","received_events_url":"https://api.github.com/users/paetz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/paetz/yacguide","description":"yet another climbing guide - offline tool for sandsteinklettern.de","fork":false,"url":"https://api.github.com/repos/paetz/yacguide","forks_url":"https://api.github.com/repos/paetz/yacguide/forks","keys_url":"https://api.github.com/repos/paetz/yacguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paetz/yacguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paetz/yacguide/teams","hooks_url":"https://api.github.com/repos/paetz/yacguide/hooks","issue_events_url":"https://api.github.com/repos/paetz/yacguide/issues/events{/number}","events_url":"https://api.github.com/repos/paetz/yacguide/events","assignees_url":"https://api.github.com/repos/paetz/yacguide/assignees{/user}","branches_url":"https://api.github.com/repos/paetz/yacguide/branches{/branch}","tags_url":"https://api.github.com/repos/paetz/yacguide/tags","blobs_url":"https://api.github.com/repos/paetz/yacguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paetz/yacguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paetz/yacguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/paetz/yacguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paetz/yacguide/statuses/{sha}","languages_url":"https://api.github.com/repos/paetz/yacguide/languages","stargazers_url":"https://api.github.com/repos/paetz/yacguide/stargazers","contributors_url":"https://api.github.com/repos/paetz/yacguide/contributors","subscribers_url":"https://api.github.com/repos/paetz/yacguide/subscribers","subscription_url":"https://api.github.com/repos/paetz/yacguide/subscription","commits_url":"https://api.github.com/repos/paetz/yacguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/paetz/yacguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/paetz/yacguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/paetz/yacguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/paetz/yacguide/contents/{+path}","compare_url":"https://api.github.com/repos/paetz/yacguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paetz/yacguide/merges","archive_url":"https://api.github.com/repos/paetz/yacguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paetz/yacguide/downloads","issues_url":"https://api.github.com/repos/paetz/yacguide/issues{/number}","pulls_url":"https://api.github.com/repos/paetz/yacguide/pulls{/number}","milestones_url":"https://api.github.com/repos/paetz/yacguide/milestones{/number}","notifications_url":"https://api.github.com/repos/paetz/yacguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paetz/yacguide/labels{/name}","releases_url":"https://api.github.com/repos/paetz/yacguide/releases{/id}","deployments_url":"https://api.github.com/repos/paetz/yacguide/deployments","created_at":"2018-11-16T10:53:43Z","updated_at":"2018-12-04T20:17:51Z","pushed_at":"2018-12-07T20:17:49Z","git_url":"git://github.com/paetz/yacguide.git","ssh_url":"git@github.com:paetz/yacguide.git","clone_url":"https://github.com/paetz/yacguide.git","svn_url":"https://github.com/paetz/yacguide","homepage":null,"size":608,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/20"},"html":{"href":"https://github.com/paetz/yacguide/pull/20"},"issue":{"href":"https://api.github.com/repos/paetz/yacguide/issues/20"},"comments":{"href":"https://api.github.com/repos/paetz/yacguide/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paetz/yacguide/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/paetz/yacguide/statuses/a9a4843b8fce95cb1e85bfd9a0d6e81593e97856"}},"author_association":"OWNER"}}
{"actor":{"display_login":"paetz"}}