{"action":"created","comment":{"url":"https://api.github.com/repos/icelab/berg/pulls/comments/63452076","id":63452076,"diff_hunk":"@@ -0,0 +1,38 @@\n+== actions\n+\n+h1.h-1 Projects\n+\n+.panel\n+  .panel__primary\n+    .table.link-children\n+      table\n+        thead\n+          tr\n+            th Title\n+            th Client\n+            th Status\n+            th.horizontal-align--center Actions\n+        tbody\n+          - projects.each do |project|\n+            tr id=\"project-#{project.slug}\"\n+              td.vertical-align--middle\n+                a href=\"/admin/projects/#{project.slug}/edit\" = project.title\n+              td.vertical-align--middle\n+                = project.client\n+              td.vertical-align--middle\n+                - if project.published?\n+                  .label.label--success\n+                    = project.status\n+                - elsif project.deleted?\n+                  .label.label--warning\n+                    = project.status\n+                - else\n+                  .label.label--ghost\n+                    = project.status","path":"apps/admin/web/templates/projects/index.html.slim","position":31,"original_position":31,"commit_id":"383e03df6c0ee3e8fd0ff245279e2b0a20a03a0e","original_commit_id":"383e03df6c0ee3e8fd0ff245279e2b0a20a03a0e","user":{"login":"timriley","id":3134,"avatar_url":"https://avatars.githubusercontent.com/u/3134?v=3","gravatar_id":"","url":"https://api.github.com/users/timriley","html_url":"https://github.com/timriley","followers_url":"https://api.github.com/users/timriley/followers","following_url":"https://api.github.com/users/timriley/following{/other_user}","gists_url":"https://api.github.com/users/timriley/gists{/gist_id}","starred_url":"https://api.github.com/users/timriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timriley/subscriptions","organizations_url":"https://api.github.com/users/timriley/orgs","repos_url":"https://api.github.com/users/timriley/repos","events_url":"https://api.github.com/users/timriley/events{/privacy}","received_events_url":"https://api.github.com/users/timriley/received_events","type":"User","site_admin":false},"body":"Would be good to clean this up with the decorator like we've done for posts :)","created_at":"2016-05-17T01:09:23Z","updated_at":"2016-05-17T01:09:23Z","html_url":"https://github.com/icelab/berg/pull/10#discussion_r63452076","pull_request_url":"https://api.github.com/repos/icelab/berg/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/icelab/berg/pulls/comments/63452076"},"html":{"href":"https://github.com/icelab/berg/pull/10#discussion_r63452076"},"pull_request":{"href":"https://api.github.com/repos/icelab/berg/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/icelab/berg/pulls/10","id":69448643,"html_url":"https://github.com/icelab/berg/pull/10","diff_url":"https://github.com/icelab/berg/pull/10.diff","patch_url":"https://github.com/icelab/berg/pull/10.patch","issue_url":"https://api.github.com/repos/icelab/berg/issues/10","number":10,"state":"open","locked":false,"title":"Add management of Projects to the admin area","user":{"login":"dylanwolff","id":10018241,"avatar_url":"https://avatars.githubusercontent.com/u/10018241?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanwolff","html_url":"https://github.com/dylanwolff","followers_url":"https://api.github.com/users/dylanwolff/followers","following_url":"https://api.github.com/users/dylanwolff/following{/other_user}","gists_url":"https://api.github.com/users/dylanwolff/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanwolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanwolff/subscriptions","organizations_url":"https://api.github.com/users/dylanwolff/orgs","repos_url":"https://api.github.com/users/dylanwolff/repos","events_url":"https://api.github.com/users/dylanwolff/events{/privacy}","received_events_url":"https://api.github.com/users/dylanwolff/received_events","type":"User","site_admin":false},"body":"\r\n<img width=\"1021\" alt=\"berg_ _admin\" src=\"https://cloud.githubusercontent.com/assets/10018241/15205510/ee8f37c0-1852-11e6-8753-9bc7e0992343.png\">\r\n\r\nTODO\r\n- [x] Implement test coverage for Projects\r\n- [x] Resolve issue with project slug uniqueness validation ","created_at":"2016-05-10T04:50:54Z","updated_at":"2016-05-17T01:09:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da5c785b73df859787f1462dd82651b3438edcf3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/icelab/berg/pulls/10/commits","review_comments_url":"https://api.github.com/repos/icelab/berg/pulls/10/comments","review_comment_url":"https://api.github.com/repos/icelab/berg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icelab/berg/issues/10/comments","statuses_url":"https://api.github.com/repos/icelab/berg/statuses/383e03df6c0ee3e8fd0ff245279e2b0a20a03a0e","head":{"label":"icelab:admin-projects","ref":"admin-projects","sha":"383e03df6c0ee3e8fd0ff245279e2b0a20a03a0e","user":{"login":"icelab","id":335275,"avatar_url":"https://avatars.githubusercontent.com/u/335275?v=3","gravatar_id":"","url":"https://api.github.com/users/icelab","html_url":"https://github.com/icelab","followers_url":"https://api.github.com/users/icelab/followers","following_url":"https://api.github.com/users/icelab/following{/other_user}","gists_url":"https://api.github.com/users/icelab/gists{/gist_id}","starred_url":"https://api.github.com/users/icelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icelab/subscriptions","organizations_url":"https://api.github.com/users/icelab/orgs","repos_url":"https://api.github.com/users/icelab/repos","events_url":"https://api.github.com/users/icelab/events{/privacy}","received_events_url":"https://api.github.com/users/icelab/received_events","type":"Organization","site_admin":false},"repo":{"id":56465969,"name":"berg","full_name":"icelab/berg","owner":{"login":"icelab","id":335275,"avatar_url":"https://avatars.githubusercontent.com/u/335275?v=3","gravatar_id":"","url":"https://api.github.com/users/icelab","html_url":"https://github.com/icelab","followers_url":"https://api.github.com/users/icelab/followers","following_url":"https://api.github.com/users/icelab/following{/other_user}","gists_url":"https://api.github.com/users/icelab/gists{/gist_id}","starred_url":"https://api.github.com/users/icelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icelab/subscriptions","organizations_url":"https://api.github.com/users/icelab/orgs","repos_url":"https://api.github.com/users/icelab/repos","events_url":"https://api.github.com/users/icelab/events{/privacy}","received_events_url":"https://api.github.com/users/icelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icelab/berg","description":"The new icelab.com.au, built with dry-web, ROM and Roda","fork":false,"url":"https://api.github.com/repos/icelab/berg","forks_url":"https://api.github.com/repos/icelab/berg/forks","keys_url":"https://api.github.com/repos/icelab/berg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icelab/berg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icelab/berg/teams","hooks_url":"https://api.github.com/repos/icelab/berg/hooks","issue_events_url":"https://api.github.com/repos/icelab/berg/issues/events{/number}","events_url":"https://api.github.com/repos/icelab/berg/events","assignees_url":"https://api.github.com/repos/icelab/berg/assignees{/user}","branches_url":"https://api.github.com/repos/icelab/berg/branches{/branch}","tags_url":"https://api.github.com/repos/icelab/berg/tags","blobs_url":"https://api.github.com/repos/icelab/berg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icelab/berg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icelab/berg/git/refs{/sha}","trees_url":"https://api.github.com/repos/icelab/berg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icelab/berg/statuses/{sha}","languages_url":"https://api.github.com/repos/icelab/berg/languages","stargazers_url":"https://api.github.com/repos/icelab/berg/stargazers","contributors_url":"https://api.github.com/repos/icelab/berg/contributors","subscribers_url":"https://api.github.com/repos/icelab/berg/subscribers","subscription_url":"https://api.github.com/repos/icelab/berg/subscription","commits_url":"https://api.github.com/repos/icelab/berg/commits{/sha}","git_commits_url":"https://api.github.com/repos/icelab/berg/git/commits{/sha}","comments_url":"https://api.github.com/repos/icelab/berg/comments{/number}","issue_comment_url":"https://api.github.com/repos/icelab/berg/issues/comments{/number}","contents_url":"https://api.github.com/repos/icelab/berg/contents/{+path}","compare_url":"https://api.github.com/repos/icelab/berg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icelab/berg/merges","archive_url":"https://api.github.com/repos/icelab/berg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icelab/berg/downloads","issues_url":"https://api.github.com/repos/icelab/berg/issues{/number}","pulls_url":"https://api.github.com/repos/icelab/berg/pulls{/number}","milestones_url":"https://api.github.com/repos/icelab/berg/milestones{/number}","notifications_url":"https://api.github.com/repos/icelab/berg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icelab/berg/labels{/name}","releases_url":"https://api.github.com/repos/icelab/berg/releases{/id}","deployments_url":"https://api.github.com/repos/icelab/berg/deployments","created_at":"2016-04-18T00:41:09Z","updated_at":"2016-04-21T12:59:07Z","pushed_at":"2016-05-17T00:56:51Z","git_url":"git://github.com/icelab/berg.git","ssh_url":"git@github.com:icelab/berg.git","clone_url":"https://github.com/icelab/berg.git","svn_url":"https://github.com/icelab/berg","homepage":"","size":383,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"icelab:master","ref":"master","sha":"6a71e73fc8d81eacc459a43d270418487cfa160f","user":{"login":"icelab","id":335275,"avatar_url":"https://avatars.githubusercontent.com/u/335275?v=3","gravatar_id":"","url":"https://api.github.com/users/icelab","html_url":"https://github.com/icelab","followers_url":"https://api.github.com/users/icelab/followers","following_url":"https://api.github.com/users/icelab/following{/other_user}","gists_url":"https://api.github.com/users/icelab/gists{/gist_id}","starred_url":"https://api.github.com/users/icelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icelab/subscriptions","organizations_url":"https://api.github.com/users/icelab/orgs","repos_url":"https://api.github.com/users/icelab/repos","events_url":"https://api.github.com/users/icelab/events{/privacy}","received_events_url":"https://api.github.com/users/icelab/received_events","type":"Organization","site_admin":false},"repo":{"id":56465969,"name":"berg","full_name":"icelab/berg","owner":{"login":"icelab","id":335275,"avatar_url":"https://avatars.githubusercontent.com/u/335275?v=3","gravatar_id":"","url":"https://api.github.com/users/icelab","html_url":"https://github.com/icelab","followers_url":"https://api.github.com/users/icelab/followers","following_url":"https://api.github.com/users/icelab/following{/other_user}","gists_url":"https://api.github.com/users/icelab/gists{/gist_id}","starred_url":"https://api.github.com/users/icelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icelab/subscriptions","organizations_url":"https://api.github.com/users/icelab/orgs","repos_url":"https://api.github.com/users/icelab/repos","events_url":"https://api.github.com/users/icelab/events{/privacy}","received_events_url":"https://api.github.com/users/icelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/icelab/berg","description":"The new icelab.com.au, built with dry-web, ROM and Roda","fork":false,"url":"https://api.github.com/repos/icelab/berg","forks_url":"https://api.github.com/repos/icelab/berg/forks","keys_url":"https://api.github.com/repos/icelab/berg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icelab/berg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icelab/berg/teams","hooks_url":"https://api.github.com/repos/icelab/berg/hooks","issue_events_url":"https://api.github.com/repos/icelab/berg/issues/events{/number}","events_url":"https://api.github.com/repos/icelab/berg/events","assignees_url":"https://api.github.com/repos/icelab/berg/assignees{/user}","branches_url":"https://api.github.com/repos/icelab/berg/branches{/branch}","tags_url":"https://api.github.com/repos/icelab/berg/tags","blobs_url":"https://api.github.com/repos/icelab/berg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icelab/berg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icelab/berg/git/refs{/sha}","trees_url":"https://api.github.com/repos/icelab/berg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icelab/berg/statuses/{sha}","languages_url":"https://api.github.com/repos/icelab/berg/languages","stargazers_url":"https://api.github.com/repos/icelab/berg/stargazers","contributors_url":"https://api.github.com/repos/icelab/berg/contributors","subscribers_url":"https://api.github.com/repos/icelab/berg/subscribers","subscription_url":"https://api.github.com/repos/icelab/berg/subscription","commits_url":"https://api.github.com/repos/icelab/berg/commits{/sha}","git_commits_url":"https://api.github.com/repos/icelab/berg/git/commits{/sha}","comments_url":"https://api.github.com/repos/icelab/berg/comments{/number}","issue_comment_url":"https://api.github.com/repos/icelab/berg/issues/comments{/number}","contents_url":"https://api.github.com/repos/icelab/berg/contents/{+path}","compare_url":"https://api.github.com/repos/icelab/berg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icelab/berg/merges","archive_url":"https://api.github.com/repos/icelab/berg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icelab/berg/downloads","issues_url":"https://api.github.com/repos/icelab/berg/issues{/number}","pulls_url":"https://api.github.com/repos/icelab/berg/pulls{/number}","milestones_url":"https://api.github.com/repos/icelab/berg/milestones{/number}","notifications_url":"https://api.github.com/repos/icelab/berg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icelab/berg/labels{/name}","releases_url":"https://api.github.com/repos/icelab/berg/releases{/id}","deployments_url":"https://api.github.com/repos/icelab/berg/deployments","created_at":"2016-04-18T00:41:09Z","updated_at":"2016-04-21T12:59:07Z","pushed_at":"2016-05-17T00:56:51Z","git_url":"git://github.com/icelab/berg.git","ssh_url":"git@github.com:icelab/berg.git","clone_url":"https://github.com/icelab/berg.git","svn_url":"https://github.com/icelab/berg","homepage":"","size":383,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/icelab/berg/pulls/10"},"html":{"href":"https://github.com/icelab/berg/pull/10"},"issue":{"href":"https://api.github.com/repos/icelab/berg/issues/10"},"comments":{"href":"https://api.github.com/repos/icelab/berg/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/icelab/berg/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/icelab/berg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icelab/berg/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/icelab/berg/statuses/383e03df6c0ee3e8fd0ff245279e2b0a20a03a0e"}}}}