{"action":"created","comment":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/comments/36260779","id":36260779,"diff_hunk":"@@ -0,0 +1,124 @@\n+<tr id=\"summary-${tree.id}\">\n+    <td width=\"40%\">\n+        <div>\n+            <div class=\"btn btn-link\" onclick=\"showInfo('${tree.id}')\">\n+                <g:if test=\"${tree.expertTree}\">\n+                    <span class=\"fa fa-mortar-board\" title=\"Expert recommended tree\">&nbsp;&nbsp;</span>\n+                </g:if>\n+                <g:else>\n+                    <span class=\"fa fa-users\" title=\"Public tree\">&nbsp;&nbsp;</span>\n+                </g:else>\n+                ${tree.getTitle()}\n+                <i class=\"icon-info-sign\" title=\"Show more information\"></i>\n+            </div>\n+        </div>\n+    </td>\n+    <td width=\"30%\"><a href=\"http://bie.ala.org.au/species/${tree.expertTreeLSID}\"\n+                       target=\"_blank\">${tree.getExpertTreeTaxonomy()}</a></td>\n+    <td width=\"30%\">\n+        <a id=\"showHideDetailsBtn${tree.id}\" class=\"btn btn-small btn-primary\" data-toggle=\"modal\" href=\"#\"\n+           onclick=\"showInfo('${tree.id}')\">\n+            <i class=\"fa fa-angle-double-down\"></i>&nbsp;&nbsp;Details</a>\n+\n+        <a href=\"${createLink(controller: 'viewer', action: 'show')}?studyId=${tree.getId()}\"\n+           class=\"btn btn-small\"><i class=\"icon icon-camera\"></i> Preview tree</a>\n+    </td>\n+</tr>\n+<tr id=\"info-${tree.id}\" class=\"hide\">\n+    <td colspan=\"3\" class=\"info\" width=\"100%\">\n+        <i>${tree.getReference()}</i>\n+        <g:if test=\"${tree.doi}\">\n+            <div class=\"\">\n+                <a href=\"${tree.getDoi()}\">${tree.getDoi()}</a>\n+            </div>\n+        </g:if>\n+    </td>\n+</tr>\n+<tr id=\"controls-${tree.id}\" class=\"hide\" width=\"100%\">\n+    <td colspan=\"3\" class=\"info\">\n+        <g:if test=\"${tree.expertTree}\">\n+            <g:remoteLink params=\"[treeId: tree.id]\" class=\"btn btn-primary btn-small\"\n+                          action=\"toggleExpertTree\" update=\"row${tree.id}\"\n+                          title=\"Remove this tree from the list of expert trees' : ''}\">\n+                Change to Public Tree\n+            </g:remoteLink>\n+        </g:if>\n+        <g:else>\n+            <g:formRemote name=\"bla\" url=\"[action: 'toggleExpertTree']\" controller=\"tree\" action=\"toggleExpertTree\"\n+                          method=\"POST\" update=\"row${tree.id}\"\n+                          onComplete=\"jQuery('#promoteExpertTreeModal${tree.id}').modal('hide')\">\n+                <p>Promote this tree as an 'expert recommended tree'.</p>\n+\n+                <div class=\"form-horizontal\">\n+                    <div class=\"control-group\">\n+                        <label for=\"expertTreeTaxonomy\" class=\"control-label\">Species covered</label>","path":"grails-app/views/tree/_adminTableRow.gsp","position":54,"original_position":54,"commit_id":"6475d3f95b9cb4d452f4d1c7dcc595161b2e4b83","original_commit_id":"6475d3f95b9cb4d452f4d1c7dcc595161b2e4b83","user":{"login":"temi","id":1152259,"avatar_url":"https://avatars.githubusercontent.com/u/1152259?v=3","gravatar_id":"","url":"https://api.github.com/users/temi","html_url":"https://github.com/temi","followers_url":"https://api.github.com/users/temi/followers","following_url":"https://api.github.com/users/temi/following{/other_user}","gists_url":"https://api.github.com/users/temi/gists{/gist_id}","starred_url":"https://api.github.com/users/temi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/temi/subscriptions","organizations_url":"https://api.github.com/users/temi/orgs","repos_url":"https://api.github.com/users/temi/repos","events_url":"https://api.github.com/users/temi/events{/privacy}","received_events_url":"https://api.github.com/users/temi/received_events","type":"User","site_admin":false},"body":"we can reduce this to just the autocomplete box. I do not think we will have a situation where the name is different from linked profile name.","created_at":"2015-08-05T01:06:34Z","updated_at":"2015-08-05T01:06:34Z","html_url":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135#discussion_r36260779","pull_request_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135","_links":{"self":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/comments/36260779"},"html":{"href":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135#discussion_r36260779"},"pull_request":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135"}}},"pull_request":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135","id":41529962,"html_url":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135","diff_url":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135.diff","patch_url":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135.patch","issue_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/135","number":135,"state":"open","locked":false,"title":"Fixes #27 Admin screen for expert trees (BH-24)","user":{"login":"m-r-c","id":7333671,"avatar_url":"https://avatars.githubusercontent.com/u/7333671?v=3","gravatar_id":"","url":"https://api.github.com/users/m-r-c","html_url":"https://github.com/m-r-c","followers_url":"https://api.github.com/users/m-r-c/followers","following_url":"https://api.github.com/users/m-r-c/following{/other_user}","gists_url":"https://api.github.com/users/m-r-c/gists{/gist_id}","starred_url":"https://api.github.com/users/m-r-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-r-c/subscriptions","organizations_url":"https://api.github.com/users/m-r-c/orgs","repos_url":"https://api.github.com/users/m-r-c/repos","events_url":"https://api.github.com/users/m-r-c/events{/privacy}","received_events_url":"https://api.github.com/users/m-r-c/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-04T02:50:56Z","updated_at":"2015-08-05T01:06:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd742fd57ccbb7b2776b319bf967c0fce39fa0c0","assignee":{"login":"temi","id":1152259,"avatar_url":"https://avatars.githubusercontent.com/u/1152259?v=3","gravatar_id":"","url":"https://api.github.com/users/temi","html_url":"https://github.com/temi","followers_url":"https://api.github.com/users/temi/followers","following_url":"https://api.github.com/users/temi/following{/other_user}","gists_url":"https://api.github.com/users/temi/gists{/gist_id}","starred_url":"https://api.github.com/users/temi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/temi/subscriptions","organizations_url":"https://api.github.com/users/temi/orgs","repos_url":"https://api.github.com/users/temi/repos","events_url":"https://api.github.com/users/temi/events{/privacy}","received_events_url":"https://api.github.com/users/temi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135/commits","review_comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135/comments","review_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/135/comments","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/statuses/6475d3f95b9cb4d452f4d1c7dcc595161b2e4b83","head":{"label":"AtlasOfLivingAustralia:bh24_treeAdmin","ref":"bh24_treeAdmin","sha":"6475d3f95b9cb4d452f4d1c7dcc595161b2e4b83","user":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":23774947,"name":"phylolink","full_name":"AtlasOfLivingAustralia/phylolink","owner":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtlasOfLivingAustralia/phylolink","description":"Phylogenetic vizualisations","fork":false,"url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink","forks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/forks","keys_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/teams","hooks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/hooks","issue_events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/events{/number}","events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/events","assignees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/assignees{/user}","branches_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/branches{/branch}","tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/tags","blobs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/statuses/{sha}","languages_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/languages","stargazers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/stargazers","contributors_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/contributors","subscribers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/subscribers","subscription_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/subscription","commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/contents/{+path}","compare_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/merges","archive_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/downloads","issues_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues{/number}","pulls_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls{/number}","milestones_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/milestones{/number}","notifications_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/labels{/name}","releases_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/releases{/id}","created_at":"2014-09-08T00:39:35Z","updated_at":"2015-07-28T04:48:19Z","pushed_at":"2015-08-04T22:50:30Z","git_url":"git://github.com/AtlasOfLivingAustralia/phylolink.git","ssh_url":"git@github.com:AtlasOfLivingAustralia/phylolink.git","clone_url":"https://github.com/AtlasOfLivingAustralia/phylolink.git","svn_url":"https://github.com/AtlasOfLivingAustralia/phylolink","homepage":"","size":9421,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":79,"forks":1,"open_issues":79,"watchers":1,"default_branch":"master"}},"base":{"label":"AtlasOfLivingAustralia:master","ref":"master","sha":"0768adf4448306d24af3b13fd3b46f5745c6146e","user":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":23774947,"name":"phylolink","full_name":"AtlasOfLivingAustralia/phylolink","owner":{"login":"AtlasOfLivingAustralia","id":7296572,"avatar_url":"https://avatars.githubusercontent.com/u/7296572?v=3","gravatar_id":"","url":"https://api.github.com/users/AtlasOfLivingAustralia","html_url":"https://github.com/AtlasOfLivingAustralia","followers_url":"https://api.github.com/users/AtlasOfLivingAustralia/followers","following_url":"https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}","gists_url":"https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtlasOfLivingAustralia/subscriptions","organizations_url":"https://api.github.com/users/AtlasOfLivingAustralia/orgs","repos_url":"https://api.github.com/users/AtlasOfLivingAustralia/repos","events_url":"https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}","received_events_url":"https://api.github.com/users/AtlasOfLivingAustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtlasOfLivingAustralia/phylolink","description":"Phylogenetic vizualisations","fork":false,"url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink","forks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/forks","keys_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/teams","hooks_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/hooks","issue_events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/events{/number}","events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/events","assignees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/assignees{/user}","branches_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/branches{/branch}","tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/tags","blobs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/statuses/{sha}","languages_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/languages","stargazers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/stargazers","contributors_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/contributors","subscribers_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/subscribers","subscription_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/subscription","commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/contents/{+path}","compare_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/merges","archive_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/downloads","issues_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues{/number}","pulls_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls{/number}","milestones_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/milestones{/number}","notifications_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/labels{/name}","releases_url":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/releases{/id}","created_at":"2014-09-08T00:39:35Z","updated_at":"2015-07-28T04:48:19Z","pushed_at":"2015-08-04T22:50:30Z","git_url":"git://github.com/AtlasOfLivingAustralia/phylolink.git","ssh_url":"git@github.com:AtlasOfLivingAustralia/phylolink.git","clone_url":"https://github.com/AtlasOfLivingAustralia/phylolink.git","svn_url":"https://github.com/AtlasOfLivingAustralia/phylolink","homepage":"","size":9421,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":79,"forks":1,"open_issues":79,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135"},"html":{"href":"https://github.com/AtlasOfLivingAustralia/phylolink/pull/135"},"issue":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/135"},"comments":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/AtlasOfLivingAustralia/phylolink/statuses/6475d3f95b9cb4d452f4d1c7dcc595161b2e4b83"}}}}