{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/762","repository_url":"https://api.github.com/repos/swcarpentry/amy","labels_url":"https://api.github.com/repos/swcarpentry/amy/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/amy/issues/762/comments","events_url":"https://api.github.com/repos/swcarpentry/amy/issues/762/events","html_url":"https://github.com/swcarpentry/amy/pull/762","id":153147415,"number":762,"title":"Display SWC/DC instructor status in names","user":{"login":"gvwilson","id":911566,"avatar_url":"https://avatars.githubusercontent.com/u/911566?v=3","gravatar_id":"","url":"https://api.github.com/users/gvwilson","html_url":"https://github.com/gvwilson","followers_url":"https://api.github.com/users/gvwilson/followers","following_url":"https://api.github.com/users/gvwilson/following{/other_user}","gists_url":"https://api.github.com/users/gvwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/gvwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvwilson/subscriptions","organizations_url":"https://api.github.com/users/gvwilson/orgs","repos_url":"https://api.github.com/users/gvwilson/repos","events_url":"https://api.github.com/users/gvwilson/events{/privacy}","received_events_url":"https://api.github.com/users/gvwilson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swcarpentry/amy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"chrismedrela","id":1645996,"avatar_url":"https://avatars.githubusercontent.com/u/1645996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismedrela","html_url":"https://github.com/chrismedrela","followers_url":"https://api.github.com/users/chrismedrela/followers","following_url":"https://api.github.com/users/chrismedrela/following{/other_user}","gists_url":"https://api.github.com/users/chrismedrela/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismedrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismedrela/subscriptions","organizations_url":"https://api.github.com/users/chrismedrela/orgs","repos_url":"https://api.github.com/users/chrismedrela/repos","events_url":"https://api.github.com/users/chrismedrela/events{/privacy}","received_events_url":"https://api.github.com/users/chrismedrela/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/swcarpentry/amy/milestones/26","html_url":"https://github.com/swcarpentry/amy/milestones/v1.5.4","labels_url":"https://api.github.com/repos/swcarpentry/amy/milestones/26/labels","id":1720836,"number":26,"title":"v1.5.4","description":"","creator":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":17,"state":"open","created_at":"2016-04-20T16:00:46Z","updated_at":"2016-05-13T10:16:38Z","due_on":"2016-05-12T22:00:00Z","closed_at":null},"comments":13,"created_at":"2016-05-05T00:48:17Z","updated_at":"2016-05-13T10:16:38Z","closed_at":"2016-05-13T10:16:38Z","pull_request":{"url":"https://api.github.com/repos/swcarpentry/amy/pulls/762","html_url":"https://github.com/swcarpentry/amy/pull/762","diff_url":"https://github.com/swcarpentry/amy/pull/762.diff","patch_url":"https://github.com/swcarpentry/amy/pull/762.patch"},"body":"Closes #759.\r\n\r\n1.  Modified `BadgeQuerySet.instructor_badges` to take extra positional argument(s) specifying which badges to interrogate. (Default behavior unchanged.)\r\n2.  Modifying display of all persons to distinguish Software Carpentry and Data Carpentry instructors.\r\n3.  Modifying display of tasks associated with Event to distinguish Software Carpentry and Data Carpentry instructors.\r\n\r\nThis is getting pretty hacky:\r\n\r\n1.  Collecting all SWC and DC instructors, then doing an `in` test, seems inefficient.\r\n2.  Manually specifying the `'swc-instructor'` and `'dc-instructor'` labels seems clumsy too - we should add fields to the `Badge` class to identify badges that are instructor-related and filter on that.\r\n\r\n@chrismedrela, can you think of ways to improve this?"},"comment":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/comments/219005544","html_url":"https://github.com/swcarpentry/amy/pull/762#issuecomment-219005544","issue_url":"https://api.github.com/repos/swcarpentry/amy/issues/762","id":219005544,"user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T10:16:37Z","updated_at":"2016-05-13T10:16:37Z","body":"You cannot amend PR unless you're the author, I'm afraid. You can merge with additional commits if you do it by hand, though.\r\n\r\nI'm closing this one in favor of #777."}}