{"action":"created","comment":{"url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/comments/69476501","id":69476501,"diff_hunk":"@@ -22,3 +22,52 @@\n     <%= render partial: 'padmin', locals: {charity_type: @offline_charities} %>\n \n <% end %>\n+\n+\n+<div class=\"details\">\n+  <% if @charity %>\n+    <h2>Administrators for <%= @charity.name %></h2>\n+  <% else %>\n+    <h2>All Charity Administrators</h2>\n+  <% end %>\n+</div>\n+\n+<div class=\"search-font filter\">\n+    <label>Filter By Username  </label>\n+    <input type=\"text\" placeholder=\"Username\" id=\"user_filter_username\">\n+</div>\n+\n+<div class=\"box\">\n+  <%= link_to \"Create New Admin\", new_admin_user_path, class: \"btn button-indigo\" %>\n+</div>\n+\n+<div class=\"col-sm-12 col-sm-offset-1 users\">\n+  <% @users.each do |user| %>","path":"app/views/admin/dashboards/show.html.erb","position":24,"original_position":24,"commit_id":"4103f2c163d71b066df1e6cef9c221dc94723003","original_commit_id":"4103f2c163d71b066df1e6cef9c221dc94723003","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"body":"As we are dealing with specifically admins here we should make sure that we change this variable name to admin as opposed to user. It will be more clear to someone reading the code later that we are specifically displaying only admins in this section of the page. ","created_at":"2016-07-04T16:12:45Z","updated_at":"2016-07-04T16:12:45Z","html_url":"https://github.com/lucyfox4131/the_pivot/pull/88#discussion_r69476501","pull_request_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/comments/69476501"},"html":{"href":"https://github.com/lucyfox4131/the_pivot/pull/88#discussion_r69476501"},"pull_request":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88","id":76181651,"html_url":"https://github.com/lucyfox4131/the_pivot/pull/88","diff_url":"https://github.com/lucyfox4131/the_pivot/pull/88.diff","patch_url":"https://github.com/lucyfox4131/the_pivot/pull/88.patch","issue_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/88","number":88,"state":"open","locked":false,"title":"Primary charity admin","user":{"login":"karinamzalez","id":14364118,"avatar_url":"https://avatars.githubusercontent.com/u/14364118?v=3","gravatar_id":"","url":"https://api.github.com/users/karinamzalez","html_url":"https://github.com/karinamzalez","followers_url":"https://api.github.com/users/karinamzalez/followers","following_url":"https://api.github.com/users/karinamzalez/following{/other_user}","gists_url":"https://api.github.com/users/karinamzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/karinamzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karinamzalez/subscriptions","organizations_url":"https://api.github.com/users/karinamzalez/orgs","repos_url":"https://api.github.com/users/karinamzalez/repos","events_url":"https://api.github.com/users/karinamzalez/events{/privacy}","received_events_url":"https://api.github.com/users/karinamzalez/received_events","type":"User","site_admin":false},"body":"test for admin demotion still needs to be written but it's functional. \r\n","created_at":"2016-07-04T15:54:24Z","updated_at":"2016-07-04T16:12:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25558758074baf883f2e032b67ed430776aca65a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88/commits","review_comments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88/comments","review_comment_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/88/comments","statuses_url":"https://api.github.com/repos/lucyfox4131/the_pivot/statuses/4103f2c163d71b066df1e6cef9c221dc94723003","head":{"label":"lucyfox4131:primary_charity_admin","ref":"primary_charity_admin","sha":"4103f2c163d71b066df1e6cef9c221dc94723003","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"repo":{"id":62083653,"name":"the_pivot","full_name":"lucyfox4131/the_pivot","owner":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucyfox4131/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/lucyfox4131/the_pivot","forks_url":"https://api.github.com/repos/lucyfox4131/the_pivot/forks","keys_url":"https://api.github.com/repos/lucyfox4131/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyfox4131/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyfox4131/the_pivot/teams","hooks_url":"https://api.github.com/repos/lucyfox4131/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/lucyfox4131/the_pivot/events","assignees_url":"https://api.github.com/repos/lucyfox4131/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/lucyfox4131/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/lucyfox4131/the_pivot/tags","blobs_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyfox4131/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyfox4131/the_pivot/languages","stargazers_url":"https://api.github.com/repos/lucyfox4131/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/lucyfox4131/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/lucyfox4131/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/lucyfox4131/the_pivot/subscription","commits_url":"https://api.github.com/repos/lucyfox4131/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyfox4131/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/lucyfox4131/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyfox4131/the_pivot/merges","archive_url":"https://api.github.com/repos/lucyfox4131/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyfox4131/the_pivot/downloads","issues_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyfox4131/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyfox4131/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyfox4131/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/lucyfox4131/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/deployments","created_at":"2016-06-27T19:52:36Z","updated_at":"2016-06-27T19:54:23Z","pushed_at":"2016-07-04T15:54:24Z","git_url":"git://github.com/lucyfox4131/the_pivot.git","ssh_url":"git@github.com:lucyfox4131/the_pivot.git","clone_url":"https://github.com/lucyfox4131/the_pivot.git","svn_url":"https://github.com/lucyfox4131/the_pivot","homepage":null,"size":7241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"lucyfox4131:admin_dev","ref":"admin_dev","sha":"5f157569ba45efc4079bd99ebcb1ea50a72ff37a","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"repo":{"id":62083653,"name":"the_pivot","full_name":"lucyfox4131/the_pivot","owner":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucyfox4131/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/lucyfox4131/the_pivot","forks_url":"https://api.github.com/repos/lucyfox4131/the_pivot/forks","keys_url":"https://api.github.com/repos/lucyfox4131/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyfox4131/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyfox4131/the_pivot/teams","hooks_url":"https://api.github.com/repos/lucyfox4131/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/lucyfox4131/the_pivot/events","assignees_url":"https://api.github.com/repos/lucyfox4131/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/lucyfox4131/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/lucyfox4131/the_pivot/tags","blobs_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyfox4131/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyfox4131/the_pivot/languages","stargazers_url":"https://api.github.com/repos/lucyfox4131/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/lucyfox4131/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/lucyfox4131/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/lucyfox4131/the_pivot/subscription","commits_url":"https://api.github.com/repos/lucyfox4131/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyfox4131/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyfox4131/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/lucyfox4131/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyfox4131/the_pivot/merges","archive_url":"https://api.github.com/repos/lucyfox4131/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyfox4131/the_pivot/downloads","issues_url":"https://api.github.com/repos/lucyfox4131/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyfox4131/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyfox4131/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyfox4131/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/lucyfox4131/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/lucyfox4131/the_pivot/deployments","created_at":"2016-06-27T19:52:36Z","updated_at":"2016-06-27T19:54:23Z","pushed_at":"2016-07-04T15:54:24Z","git_url":"git://github.com/lucyfox4131/the_pivot.git","ssh_url":"git@github.com:lucyfox4131/the_pivot.git","clone_url":"https://github.com/lucyfox4131/the_pivot.git","svn_url":"https://github.com/lucyfox4131/the_pivot","homepage":null,"size":7241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88"},"html":{"href":"https://github.com/lucyfox4131/the_pivot/pull/88"},"issue":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/88"},"comments":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/lucyfox4131/the_pivot/statuses/4103f2c163d71b066df1e6cef9c221dc94723003"}}}}
{"actor":{"display_login":"lucyfox4131"}}