{"action":"created","comment":{"url":"https://api.github.com/repos/Kitware/minerva/pulls/comments/45519100","id":45519100,"diff_hunk":"@@ -10,9 +10,11 @@\n                     span(title=source.get('name'))= source.get('name').length > 13 ? source.get('name').slice(0,13) + \"...\" : source.get('name')\n                         - var attributes = {'cid': source.cid}\n                         - var sourceType = sourceTypes[source.getSourceType()]\n-                        - var classes = 'm-icon-enabled m-display-source-action ' + sourceType.icon + ' ' + sourceType.action\n-                        i(class=classes)&attributes(attributes)\n-                        //- trash icon to delete source\n+\n+                        if sourceType\n+                          - var classes = 'm-icon-enabled m-display-source-action ' + sourceType.icon + ' ' + sourceType.action\n+                          i(class=classes)&attributes(attributes)\n+                          //- trash icon to delete source","path":"web_external/templates/body/sourcePanel.jade","position":11,"original_position":11,"commit_id":"a623345319197c6a597f415440a9040c444dd780","original_commit_id":"a623345319197c6a597f415440a9040c444dd780","user":{"login":"mgrauer","id":595023,"avatar_url":"https://avatars.githubusercontent.com/u/595023?v=3","gravatar_id":"","url":"https://api.github.com/users/mgrauer","html_url":"https://github.com/mgrauer","followers_url":"https://api.github.com/users/mgrauer/followers","following_url":"https://api.github.com/users/mgrauer/following{/other_user}","gists_url":"https://api.github.com/users/mgrauer/gists{/gist_id}","starred_url":"https://api.github.com/users/mgrauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgrauer/subscriptions","organizations_url":"https://api.github.com/users/mgrauer/orgs","repos_url":"https://api.github.com/users/mgrauer/repos","events_url":"https://api.github.com/users/mgrauer/events{/privacy}","received_events_url":"https://api.github.com/users/mgrauer/received_events","type":"User","site_admin":false},"body":"unindent this comment, or better yet, remove it as it is self-evident.","created_at":"2015-11-20T21:13:26Z","updated_at":"2015-11-20T21:13:26Z","html_url":"https://github.com/Kitware/minerva/pull/211#discussion_r45519100","pull_request_url":"https://api.github.com/repos/Kitware/minerva/pulls/211","_links":{"self":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/comments/45519100"},"html":{"href":"https://github.com/Kitware/minerva/pull/211#discussion_r45519100"},"pull_request":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/211"}}},"pull_request":{"url":"https://api.github.com/repos/Kitware/minerva/pulls/211","id":51383148,"html_url":"https://github.com/Kitware/minerva/pull/211","diff_url":"https://github.com/Kitware/minerva/pull/211.diff","patch_url":"https://github.com/Kitware/minerva/pull/211.patch","issue_url":"https://api.github.com/repos/Kitware/minerva/issues/211","number":211,"state":"open","locked":false,"title":"Add Postgres source","user":{"login":"danlamanna","id":608229,"avatar_url":"https://avatars.githubusercontent.com/u/608229?v=3","gravatar_id":"","url":"https://api.github.com/users/danlamanna","html_url":"https://github.com/danlamanna","followers_url":"https://api.github.com/users/danlamanna/followers","following_url":"https://api.github.com/users/danlamanna/following{/other_user}","gists_url":"https://api.github.com/users/danlamanna/gists{/gist_id}","starred_url":"https://api.github.com/users/danlamanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danlamanna/subscriptions","organizations_url":"https://api.github.com/users/danlamanna/orgs","repos_url":"https://api.github.com/users/danlamanna/repos","events_url":"https://api.github.com/users/danlamanna/events{/privacy}","received_events_url":"https://api.github.com/users/danlamanna/received_events","type":"User","site_admin":false},"body":"@mgrauer No action associated with this source, it also stealth fixes a bug where jade would flip out if your source had no icon/action.\r\n\r\nVery simple source, just meant to be used as an input to analyses.","created_at":"2015-11-20T17:17:42Z","updated_at":"2015-11-20T21:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c0d93b50da1baea1dfec7535ba78e43732feb07","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kitware/minerva/pulls/211/commits","review_comments_url":"https://api.github.com/repos/Kitware/minerva/pulls/211/comments","review_comment_url":"https://api.github.com/repos/Kitware/minerva/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kitware/minerva/issues/211/comments","statuses_url":"https://api.github.com/repos/Kitware/minerva/statuses/a623345319197c6a597f415440a9040c444dd780","head":{"label":"Kitware:add-postgres-source","ref":"add-postgres-source","sha":"a623345319197c6a597f415440a9040c444dd780","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":20766594,"name":"minerva","full_name":"Kitware/minerva","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/minerva","description":"Minerva: client/server/services for analysis and visualization","fork":false,"url":"https://api.github.com/repos/Kitware/minerva","forks_url":"https://api.github.com/repos/Kitware/minerva/forks","keys_url":"https://api.github.com/repos/Kitware/minerva/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/minerva/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/minerva/teams","hooks_url":"https://api.github.com/repos/Kitware/minerva/hooks","issue_events_url":"https://api.github.com/repos/Kitware/minerva/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/minerva/events","assignees_url":"https://api.github.com/repos/Kitware/minerva/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/minerva/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/minerva/tags","blobs_url":"https://api.github.com/repos/Kitware/minerva/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/minerva/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/minerva/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/minerva/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/minerva/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/minerva/languages","stargazers_url":"https://api.github.com/repos/Kitware/minerva/stargazers","contributors_url":"https://api.github.com/repos/Kitware/minerva/contributors","subscribers_url":"https://api.github.com/repos/Kitware/minerva/subscribers","subscription_url":"https://api.github.com/repos/Kitware/minerva/subscription","commits_url":"https://api.github.com/repos/Kitware/minerva/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/minerva/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/minerva/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/minerva/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/minerva/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/minerva/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/minerva/merges","archive_url":"https://api.github.com/repos/Kitware/minerva/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/minerva/downloads","issues_url":"https://api.github.com/repos/Kitware/minerva/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/minerva/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/minerva/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/minerva/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/minerva/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/minerva/releases{/id}","created_at":"2014-06-12T12:31:22Z","updated_at":"2015-11-11T19:13:50Z","pushed_at":"2015-11-20T20:59:22Z","git_url":"git://github.com/Kitware/minerva.git","ssh_url":"git@github.com:Kitware/minerva.git","clone_url":"https://github.com/Kitware/minerva.git","svn_url":"https://github.com/Kitware/minerva","homepage":"","size":5318,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":79,"forks":7,"open_issues":79,"watchers":8,"default_branch":"master"}},"base":{"label":"Kitware:master","ref":"master","sha":"161c0137202f8adf7c3af0837f16d3c685cb69f5","user":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"repo":{"id":20766594,"name":"minerva","full_name":"Kitware/minerva","owner":{"login":"Kitware","id":87549,"avatar_url":"https://avatars.githubusercontent.com/u/87549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kitware","html_url":"https://github.com/Kitware","followers_url":"https://api.github.com/users/Kitware/followers","following_url":"https://api.github.com/users/Kitware/following{/other_user}","gists_url":"https://api.github.com/users/Kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitware/subscriptions","organizations_url":"https://api.github.com/users/Kitware/orgs","repos_url":"https://api.github.com/users/Kitware/repos","events_url":"https://api.github.com/users/Kitware/events{/privacy}","received_events_url":"https://api.github.com/users/Kitware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kitware/minerva","description":"Minerva: client/server/services for analysis and visualization","fork":false,"url":"https://api.github.com/repos/Kitware/minerva","forks_url":"https://api.github.com/repos/Kitware/minerva/forks","keys_url":"https://api.github.com/repos/Kitware/minerva/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitware/minerva/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitware/minerva/teams","hooks_url":"https://api.github.com/repos/Kitware/minerva/hooks","issue_events_url":"https://api.github.com/repos/Kitware/minerva/issues/events{/number}","events_url":"https://api.github.com/repos/Kitware/minerva/events","assignees_url":"https://api.github.com/repos/Kitware/minerva/assignees{/user}","branches_url":"https://api.github.com/repos/Kitware/minerva/branches{/branch}","tags_url":"https://api.github.com/repos/Kitware/minerva/tags","blobs_url":"https://api.github.com/repos/Kitware/minerva/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitware/minerva/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitware/minerva/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitware/minerva/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitware/minerva/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitware/minerva/languages","stargazers_url":"https://api.github.com/repos/Kitware/minerva/stargazers","contributors_url":"https://api.github.com/repos/Kitware/minerva/contributors","subscribers_url":"https://api.github.com/repos/Kitware/minerva/subscribers","subscription_url":"https://api.github.com/repos/Kitware/minerva/subscription","commits_url":"https://api.github.com/repos/Kitware/minerva/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitware/minerva/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitware/minerva/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitware/minerva/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitware/minerva/contents/{+path}","compare_url":"https://api.github.com/repos/Kitware/minerva/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitware/minerva/merges","archive_url":"https://api.github.com/repos/Kitware/minerva/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitware/minerva/downloads","issues_url":"https://api.github.com/repos/Kitware/minerva/issues{/number}","pulls_url":"https://api.github.com/repos/Kitware/minerva/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitware/minerva/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitware/minerva/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitware/minerva/labels{/name}","releases_url":"https://api.github.com/repos/Kitware/minerva/releases{/id}","created_at":"2014-06-12T12:31:22Z","updated_at":"2015-11-11T19:13:50Z","pushed_at":"2015-11-20T20:59:22Z","git_url":"git://github.com/Kitware/minerva.git","ssh_url":"git@github.com:Kitware/minerva.git","clone_url":"https://github.com/Kitware/minerva.git","svn_url":"https://github.com/Kitware/minerva","homepage":"","size":5318,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":79,"forks":7,"open_issues":79,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/211"},"html":{"href":"https://github.com/Kitware/minerva/pull/211"},"issue":{"href":"https://api.github.com/repos/Kitware/minerva/issues/211"},"comments":{"href":"https://api.github.com/repos/Kitware/minerva/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kitware/minerva/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/Kitware/minerva/statuses/a623345319197c6a597f415440a9040c444dd780"}}}}