{"action":"created","comment":{"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/comments/24403247","id":24403247,"diff_hunk":"@@ -15,12 +15,12 @@\n     <div class=\"row gh-row-part\">\n         <% _.each(data, function(part) { %>\n             <div class=\"col-xs-4 gh-part\">\n-                <% if (part.isEditing) { %>\n+                <% if (part.isEditing && (part.isEditing.displayName !== gh.data.me.displayName)) { %>\n                     <p class=\"gh-part-editing\"><%- part.isEditing.displayName %> is editing</p>\n                 <% } %>\n                 <p class=\"gh-part-tripos\"><%= part.displayName %></p>\n                 <p class=\"gh-part-part\"><%= part.part.displayName %></p>\n-                <a href=\"<%= part.hash %>\" class=\"btn btn-default pull-left gh-part-edit\" <% if (part.isEditing) { %> disabled=\"disabled\"<% } %>>Edit</a>\n+                <a href=\"<%= part.hash %>\" class=\"btn btn-default pull-left gh-part-edit\" <% if (part.isEditing && (part.isEditing.displayName !== gh.data.me.displayName)) { %> disabled=\"disabled\"<% } %>>Edit</a>","path":"shared/gh/partials/editable-parts.html","position":11,"original_position":11,"commit_id":"34267edfe4d18116a989aa74985fdceab186b69a","original_commit_id":"34267edfe4d18116a989aa74985fdceab186b69a","user":{"login":"bp323","id":218391,"avatar_url":"https://avatars.githubusercontent.com/u/218391?v=3","gravatar_id":"","url":"https://api.github.com/users/bp323","html_url":"https://github.com/bp323","followers_url":"https://api.github.com/users/bp323/followers","following_url":"https://api.github.com/users/bp323/following{/other_user}","gists_url":"https://api.github.com/users/bp323/gists{/gist_id}","starred_url":"https://api.github.com/users/bp323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bp323/subscriptions","organizations_url":"https://api.github.com/users/bp323/orgs","repos_url":"https://api.github.com/users/bp323/repos","events_url":"https://api.github.com/users/bp323/events{/privacy}","received_events_url":"https://api.github.com/users/bp323/received_events","type":"User","site_admin":false},"body":"Same here","created_at":"2015-02-10T10:45:58Z","updated_at":"2015-02-10T10:45:58Z","html_url":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158#discussion_r24403247","pull_request_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158","_links":{"self":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/comments/24403247"},"html":{"href":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158#discussion_r24403247"},"pull_request":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158"}}},"pull_request":{"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158","id":28941332,"html_url":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158","diff_url":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158.diff","patch_url":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158.patch","issue_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/158","number":158,"state":"open","locked":false,"title":"Current user can't access the batch edit when already editing","user":{"login":"Coenego","id":2194396,"avatar_url":"https://avatars.githubusercontent.com/u/2194396?v=3","gravatar_id":"","url":"https://api.github.com/users/Coenego","html_url":"https://github.com/Coenego","followers_url":"https://api.github.com/users/Coenego/followers","following_url":"https://api.github.com/users/Coenego/following{/other_user}","gists_url":"https://api.github.com/users/Coenego/gists{/gist_id}","starred_url":"https://api.github.com/users/Coenego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coenego/subscriptions","organizations_url":"https://api.github.com/users/Coenego/orgs","repos_url":"https://api.github.com/users/Coenego/repos","events_url":"https://api.github.com/users/Coenego/events{/privacy}","received_events_url":"https://api.github.com/users/Coenego/received_events","type":"User","site_admin":false},"body":"When the current user is already editing a specific module, he can't access the same module again.\r\n\r\nSteps to reproduce:\r\n- Edit a module\r\n- Go back to the index (editable parts)\r\n- Look for the same module and try to access it\r\n\r\n![screen shot 2015-02-09 at 16 44 46](https://cloud.githubusercontent.com/assets/2194396/6110654/086ad762-b07b-11e4-9e02-b9926bb1c102.png)\r\n","created_at":"2015-02-09T17:48:46Z","updated_at":"2015-02-10T10:45:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3709607ced3cd8aae828d17cb4b98390cff84e32","assignee":{"login":"bp323","id":218391,"avatar_url":"https://avatars.githubusercontent.com/u/218391?v=3","gravatar_id":"","url":"https://api.github.com/users/bp323","html_url":"https://github.com/bp323","followers_url":"https://api.github.com/users/bp323/followers","following_url":"https://api.github.com/users/bp323/following{/other_user}","gists_url":"https://api.github.com/users/bp323/gists{/gist_id}","starred_url":"https://api.github.com/users/bp323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bp323/subscriptions","organizations_url":"https://api.github.com/users/bp323/orgs","repos_url":"https://api.github.com/users/bp323/repos","events_url":"https://api.github.com/users/bp323/events{/privacy}","received_events_url":"https://api.github.com/users/bp323/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158/commits","review_comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158/comments","review_comment_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/158/comments","statuses_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/statuses/34267edfe4d18116a989aa74985fdceab186b69a","head":{"label":"Coenego:issue-158-editing","ref":"issue-158-editing","sha":"34267edfe4d18116a989aa74985fdceab186b69a","user":{"login":"Coenego","id":2194396,"avatar_url":"https://avatars.githubusercontent.com/u/2194396?v=3","gravatar_id":"","url":"https://api.github.com/users/Coenego","html_url":"https://github.com/Coenego","followers_url":"https://api.github.com/users/Coenego/followers","following_url":"https://api.github.com/users/Coenego/following{/other_user}","gists_url":"https://api.github.com/users/Coenego/gists{/gist_id}","starred_url":"https://api.github.com/users/Coenego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coenego/subscriptions","organizations_url":"https://api.github.com/users/Coenego/orgs","repos_url":"https://api.github.com/users/Coenego/repos","events_url":"https://api.github.com/users/Coenego/events{/privacy}","received_events_url":"https://api.github.com/users/Coenego/received_events","type":"User","site_admin":false},"repo":{"id":26270317,"name":"grasshopper-ui","full_name":"Coenego/grasshopper-ui","owner":{"login":"Coenego","id":2194396,"avatar_url":"https://avatars.githubusercontent.com/u/2194396?v=3","gravatar_id":"","url":"https://api.github.com/users/Coenego","html_url":"https://github.com/Coenego","followers_url":"https://api.github.com/users/Coenego/followers","following_url":"https://api.github.com/users/Coenego/following{/other_user}","gists_url":"https://api.github.com/users/Coenego/gists{/gist_id}","starred_url":"https://api.github.com/users/Coenego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coenego/subscriptions","organizations_url":"https://api.github.com/users/Coenego/orgs","repos_url":"https://api.github.com/users/Coenego/repos","events_url":"https://api.github.com/users/Coenego/events{/privacy}","received_events_url":"https://api.github.com/users/Coenego/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coenego/grasshopper-ui","description":"Grasshopper UI","fork":true,"url":"https://api.github.com/repos/Coenego/grasshopper-ui","forks_url":"https://api.github.com/repos/Coenego/grasshopper-ui/forks","keys_url":"https://api.github.com/repos/Coenego/grasshopper-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coenego/grasshopper-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coenego/grasshopper-ui/teams","hooks_url":"https://api.github.com/repos/Coenego/grasshopper-ui/hooks","issue_events_url":"https://api.github.com/repos/Coenego/grasshopper-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Coenego/grasshopper-ui/events","assignees_url":"https://api.github.com/repos/Coenego/grasshopper-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Coenego/grasshopper-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Coenego/grasshopper-ui/tags","blobs_url":"https://api.github.com/repos/Coenego/grasshopper-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coenego/grasshopper-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coenego/grasshopper-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coenego/grasshopper-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coenego/grasshopper-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Coenego/grasshopper-ui/languages","stargazers_url":"https://api.github.com/repos/Coenego/grasshopper-ui/stargazers","contributors_url":"https://api.github.com/repos/Coenego/grasshopper-ui/contributors","subscribers_url":"https://api.github.com/repos/Coenego/grasshopper-ui/subscribers","subscription_url":"https://api.github.com/repos/Coenego/grasshopper-ui/subscription","commits_url":"https://api.github.com/repos/Coenego/grasshopper-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coenego/grasshopper-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coenego/grasshopper-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coenego/grasshopper-ui/issues/comments/{number}","contents_url":"https://api.github.com/repos/Coenego/grasshopper-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Coenego/grasshopper-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coenego/grasshopper-ui/merges","archive_url":"https://api.github.com/repos/Coenego/grasshopper-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coenego/grasshopper-ui/downloads","issues_url":"https://api.github.com/repos/Coenego/grasshopper-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Coenego/grasshopper-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Coenego/grasshopper-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Coenego/grasshopper-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coenego/grasshopper-ui/labels{/name}","releases_url":"https://api.github.com/repos/Coenego/grasshopper-ui/releases{/id}","created_at":"2014-11-06T13:08:06Z","updated_at":"2015-02-05T17:11:34Z","pushed_at":"2015-02-09T17:48:32Z","git_url":"git://github.com/Coenego/grasshopper-ui.git","ssh_url":"git@github.com:Coenego/grasshopper-ui.git","clone_url":"https://github.com/Coenego/grasshopper-ui.git","svn_url":"https://github.com/Coenego/grasshopper-ui","homepage":null,"size":6059,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"CUL-DigitalServices:master","ref":"master","sha":"ce9fc834da749b33aedeefe33a1a40ba37dc1e25","user":{"login":"CUL-DigitalServices","id":5594563,"avatar_url":"https://avatars.githubusercontent.com/u/5594563?v=3","gravatar_id":"","url":"https://api.github.com/users/CUL-DigitalServices","html_url":"https://github.com/CUL-DigitalServices","followers_url":"https://api.github.com/users/CUL-DigitalServices/followers","following_url":"https://api.github.com/users/CUL-DigitalServices/following{/other_user}","gists_url":"https://api.github.com/users/CUL-DigitalServices/gists{/gist_id}","starred_url":"https://api.github.com/users/CUL-DigitalServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUL-DigitalServices/subscriptions","organizations_url":"https://api.github.com/users/CUL-DigitalServices/orgs","repos_url":"https://api.github.com/users/CUL-DigitalServices/repos","events_url":"https://api.github.com/users/CUL-DigitalServices/events{/privacy}","received_events_url":"https://api.github.com/users/CUL-DigitalServices/received_events","type":"Organization","site_admin":false},"repo":{"id":26270238,"name":"grasshopper-ui","full_name":"CUL-DigitalServices/grasshopper-ui","owner":{"login":"CUL-DigitalServices","id":5594563,"avatar_url":"https://avatars.githubusercontent.com/u/5594563?v=3","gravatar_id":"","url":"https://api.github.com/users/CUL-DigitalServices","html_url":"https://github.com/CUL-DigitalServices","followers_url":"https://api.github.com/users/CUL-DigitalServices/followers","following_url":"https://api.github.com/users/CUL-DigitalServices/following{/other_user}","gists_url":"https://api.github.com/users/CUL-DigitalServices/gists{/gist_id}","starred_url":"https://api.github.com/users/CUL-DigitalServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUL-DigitalServices/subscriptions","organizations_url":"https://api.github.com/users/CUL-DigitalServices/orgs","repos_url":"https://api.github.com/users/CUL-DigitalServices/repos","events_url":"https://api.github.com/users/CUL-DigitalServices/events{/privacy}","received_events_url":"https://api.github.com/users/CUL-DigitalServices/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CUL-DigitalServices/grasshopper-ui","description":"Grasshopper UI","fork":true,"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui","forks_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/forks","keys_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/teams","hooks_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/hooks","issue_events_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/events{/number}","events_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/events","assignees_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/assignees{/user}","branches_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/branches{/branch}","tags_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/tags","blobs_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/languages","stargazers_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/stargazers","contributors_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/contributors","subscribers_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/subscribers","subscription_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/subscription","commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/comments/{number}","contents_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/contents/{+path}","compare_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/merges","archive_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/downloads","issues_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues{/number}","pulls_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/labels{/name}","releases_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/releases{/id}","created_at":"2014-11-06T13:06:00Z","updated_at":"2015-02-09T17:32:13Z","pushed_at":"2015-02-09T17:32:12Z","git_url":"git://github.com/CUL-DigitalServices/grasshopper-ui.git","ssh_url":"git@github.com:CUL-DigitalServices/grasshopper-ui.git","clone_url":"https://github.com/CUL-DigitalServices/grasshopper-ui.git","svn_url":"https://github.com/CUL-DigitalServices/grasshopper-ui","homepage":null,"size":6296,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158"},"html":{"href":"https://github.com/CUL-DigitalServices/grasshopper-ui/pull/158"},"issue":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/158"},"comments":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-ui/statuses/34267edfe4d18116a989aa74985fdceab186b69a"}}}}