{"action":"created","comment":{"url":"https://api.github.com/repos/nitely/Spirit/pulls/comments/60844271","id":60844271,"diff_hunk":"@@ -15,8 +15,8 @@ <h1 class=\"headline\">{% trans \"Category list\" %}</h1>\n     <div class=\"rows\">\n \n         {% for c in categories %}\n-            <div class=\"row\">\n-                <a href=\"{{ c.get_absolute_url }}\">{{ c.title }}</a>\n+            <div class=\"row\" style=\"background-colour: {{ c.colour }}\">\n+                <a {% if c.colour != '' %}style=\"color: {{ c.colour }}\"{% endif %} href=\"{{ c.get_absolute_url }}\">{{ c.title }}</a>","path":"spirit/category/admin/templates/spirit/category/admin/index.html","position":7,"original_position":7,"commit_id":"8ff664682b1a070ca31ed902f9a009c792681683","original_commit_id":"8ff664682b1a070ca31ed902f9a009c792681683","user":{"login":"nitely","id":1697267,"avatar_url":"https://avatars.githubusercontent.com/u/1697267?v=3","gravatar_id":"","url":"https://api.github.com/users/nitely","html_url":"https://github.com/nitely","followers_url":"https://api.github.com/users/nitely/followers","following_url":"https://api.github.com/users/nitely/following{/other_user}","gists_url":"https://api.github.com/users/nitely/gists{/gist_id}","starred_url":"https://api.github.com/users/nitely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitely/subscriptions","organizations_url":"https://api.github.com/users/nitely/orgs","repos_url":"https://api.github.com/users/nitely/repos","events_url":"https://api.github.com/users/nitely/events{/privacy}","received_events_url":"https://api.github.com/users/nitely/received_events","type":"User","site_admin":false},"body":"`if color`","created_at":"2016-04-24T13:09:58Z","updated_at":"2016-04-24T13:09:58Z","html_url":"https://github.com/nitely/Spirit/pull/112#discussion_r60844271","pull_request_url":"https://api.github.com/repos/nitely/Spirit/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/comments/60844271"},"html":{"href":"https://github.com/nitely/Spirit/pull/112#discussion_r60844271"},"pull_request":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/nitely/Spirit/pulls/112","id":67636592,"html_url":"https://github.com/nitely/Spirit/pull/112","diff_url":"https://github.com/nitely/Spirit/pull/112.diff","patch_url":"https://github.com/nitely/Spirit/pull/112.patch","issue_url":"https://api.github.com/repos/nitely/Spirit/issues/112","number":112,"state":"open","locked":false,"title":"Spirit #110 - Added colour in 2 html spots as well as added the field…","user":{"login":"sheepsy90","id":595087,"avatar_url":"https://avatars.githubusercontent.com/u/595087?v=3","gravatar_id":"","url":"https://api.github.com/users/sheepsy90","html_url":"https://github.com/sheepsy90","followers_url":"https://api.github.com/users/sheepsy90/followers","following_url":"https://api.github.com/users/sheepsy90/following{/other_user}","gists_url":"https://api.github.com/users/sheepsy90/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepsy90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepsy90/subscriptions","organizations_url":"https://api.github.com/users/sheepsy90/orgs","repos_url":"https://api.github.com/users/sheepsy90/repos","events_url":"https://api.github.com/users/sheepsy90/events{/privacy}","received_events_url":"https://api.github.com/users/sheepsy90/received_events","type":"User","site_admin":false},"body":"… to the model and created a form validation to make sure it is a valid hex colour","created_at":"2016-04-24T12:59:27Z","updated_at":"2016-04-24T13:09:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00fbc7bf654be93fc8d59d7ce3a2a3e203f97a12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nitely/Spirit/pulls/112/commits","review_comments_url":"https://api.github.com/repos/nitely/Spirit/pulls/112/comments","review_comment_url":"https://api.github.com/repos/nitely/Spirit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nitely/Spirit/issues/112/comments","statuses_url":"https://api.github.com/repos/nitely/Spirit/statuses/8ff664682b1a070ca31ed902f9a009c792681683","head":{"label":"sheepsy90:master","ref":"master","sha":"8ff664682b1a070ca31ed902f9a009c792681683","user":{"login":"sheepsy90","id":595087,"avatar_url":"https://avatars.githubusercontent.com/u/595087?v=3","gravatar_id":"","url":"https://api.github.com/users/sheepsy90","html_url":"https://github.com/sheepsy90","followers_url":"https://api.github.com/users/sheepsy90/followers","following_url":"https://api.github.com/users/sheepsy90/following{/other_user}","gists_url":"https://api.github.com/users/sheepsy90/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepsy90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepsy90/subscriptions","organizations_url":"https://api.github.com/users/sheepsy90/orgs","repos_url":"https://api.github.com/users/sheepsy90/repos","events_url":"https://api.github.com/users/sheepsy90/events{/privacy}","received_events_url":"https://api.github.com/users/sheepsy90/received_events","type":"User","site_admin":false},"repo":{"id":56915105,"name":"Spirit","full_name":"sheepsy90/Spirit","owner":{"login":"sheepsy90","id":595087,"avatar_url":"https://avatars.githubusercontent.com/u/595087?v=3","gravatar_id":"","url":"https://api.github.com/users/sheepsy90","html_url":"https://github.com/sheepsy90","followers_url":"https://api.github.com/users/sheepsy90/followers","following_url":"https://api.github.com/users/sheepsy90/following{/other_user}","gists_url":"https://api.github.com/users/sheepsy90/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepsy90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepsy90/subscriptions","organizations_url":"https://api.github.com/users/sheepsy90/orgs","repos_url":"https://api.github.com/users/sheepsy90/repos","events_url":"https://api.github.com/users/sheepsy90/events{/privacy}","received_events_url":"https://api.github.com/users/sheepsy90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sheepsy90/Spirit","description":"Spirit is a modern Python based forum built on top of Django framework","fork":true,"url":"https://api.github.com/repos/sheepsy90/Spirit","forks_url":"https://api.github.com/repos/sheepsy90/Spirit/forks","keys_url":"https://api.github.com/repos/sheepsy90/Spirit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sheepsy90/Spirit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sheepsy90/Spirit/teams","hooks_url":"https://api.github.com/repos/sheepsy90/Spirit/hooks","issue_events_url":"https://api.github.com/repos/sheepsy90/Spirit/issues/events{/number}","events_url":"https://api.github.com/repos/sheepsy90/Spirit/events","assignees_url":"https://api.github.com/repos/sheepsy90/Spirit/assignees{/user}","branches_url":"https://api.github.com/repos/sheepsy90/Spirit/branches{/branch}","tags_url":"https://api.github.com/repos/sheepsy90/Spirit/tags","blobs_url":"https://api.github.com/repos/sheepsy90/Spirit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sheepsy90/Spirit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sheepsy90/Spirit/git/refs{/sha}","trees_url":"https://api.github.com/repos/sheepsy90/Spirit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sheepsy90/Spirit/statuses/{sha}","languages_url":"https://api.github.com/repos/sheepsy90/Spirit/languages","stargazers_url":"https://api.github.com/repos/sheepsy90/Spirit/stargazers","contributors_url":"https://api.github.com/repos/sheepsy90/Spirit/contributors","subscribers_url":"https://api.github.com/repos/sheepsy90/Spirit/subscribers","subscription_url":"https://api.github.com/repos/sheepsy90/Spirit/subscription","commits_url":"https://api.github.com/repos/sheepsy90/Spirit/commits{/sha}","git_commits_url":"https://api.github.com/repos/sheepsy90/Spirit/git/commits{/sha}","comments_url":"https://api.github.com/repos/sheepsy90/Spirit/comments{/number}","issue_comment_url":"https://api.github.com/repos/sheepsy90/Spirit/issues/comments{/number}","contents_url":"https://api.github.com/repos/sheepsy90/Spirit/contents/{+path}","compare_url":"https://api.github.com/repos/sheepsy90/Spirit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sheepsy90/Spirit/merges","archive_url":"https://api.github.com/repos/sheepsy90/Spirit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sheepsy90/Spirit/downloads","issues_url":"https://api.github.com/repos/sheepsy90/Spirit/issues{/number}","pulls_url":"https://api.github.com/repos/sheepsy90/Spirit/pulls{/number}","milestones_url":"https://api.github.com/repos/sheepsy90/Spirit/milestones{/number}","notifications_url":"https://api.github.com/repos/sheepsy90/Spirit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sheepsy90/Spirit/labels{/name}","releases_url":"https://api.github.com/repos/sheepsy90/Spirit/releases{/id}","deployments_url":"https://api.github.com/repos/sheepsy90/Spirit/deployments","created_at":"2016-04-23T11:07:20Z","updated_at":"2016-04-23T11:07:24Z","pushed_at":"2016-04-24T12:21:35Z","git_url":"git://github.com/sheepsy90/Spirit.git","ssh_url":"git@github.com:sheepsy90/Spirit.git","clone_url":"https://github.com/sheepsy90/Spirit.git","svn_url":"https://github.com/sheepsy90/Spirit","homepage":"http://spirit-project.com/","size":5601,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"nitely:master","ref":"master","sha":"16e7cbfa864359ae56f45ed1ec0cd3d20e47dbe9","user":{"login":"nitely","id":1697267,"avatar_url":"https://avatars.githubusercontent.com/u/1697267?v=3","gravatar_id":"","url":"https://api.github.com/users/nitely","html_url":"https://github.com/nitely","followers_url":"https://api.github.com/users/nitely/followers","following_url":"https://api.github.com/users/nitely/following{/other_user}","gists_url":"https://api.github.com/users/nitely/gists{/gist_id}","starred_url":"https://api.github.com/users/nitely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitely/subscriptions","organizations_url":"https://api.github.com/users/nitely/orgs","repos_url":"https://api.github.com/users/nitely/repos","events_url":"https://api.github.com/users/nitely/events{/privacy}","received_events_url":"https://api.github.com/users/nitely/received_events","type":"User","site_admin":false},"repo":{"id":19626318,"name":"Spirit","full_name":"nitely/Spirit","owner":{"login":"nitely","id":1697267,"avatar_url":"https://avatars.githubusercontent.com/u/1697267?v=3","gravatar_id":"","url":"https://api.github.com/users/nitely","html_url":"https://github.com/nitely","followers_url":"https://api.github.com/users/nitely/followers","following_url":"https://api.github.com/users/nitely/following{/other_user}","gists_url":"https://api.github.com/users/nitely/gists{/gist_id}","starred_url":"https://api.github.com/users/nitely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitely/subscriptions","organizations_url":"https://api.github.com/users/nitely/orgs","repos_url":"https://api.github.com/users/nitely/repos","events_url":"https://api.github.com/users/nitely/events{/privacy}","received_events_url":"https://api.github.com/users/nitely/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nitely/Spirit","description":"Spirit is a modern Python based forum built on top of Django framework","fork":false,"url":"https://api.github.com/repos/nitely/Spirit","forks_url":"https://api.github.com/repos/nitely/Spirit/forks","keys_url":"https://api.github.com/repos/nitely/Spirit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitely/Spirit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitely/Spirit/teams","hooks_url":"https://api.github.com/repos/nitely/Spirit/hooks","issue_events_url":"https://api.github.com/repos/nitely/Spirit/issues/events{/number}","events_url":"https://api.github.com/repos/nitely/Spirit/events","assignees_url":"https://api.github.com/repos/nitely/Spirit/assignees{/user}","branches_url":"https://api.github.com/repos/nitely/Spirit/branches{/branch}","tags_url":"https://api.github.com/repos/nitely/Spirit/tags","blobs_url":"https://api.github.com/repos/nitely/Spirit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitely/Spirit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitely/Spirit/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitely/Spirit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitely/Spirit/statuses/{sha}","languages_url":"https://api.github.com/repos/nitely/Spirit/languages","stargazers_url":"https://api.github.com/repos/nitely/Spirit/stargazers","contributors_url":"https://api.github.com/repos/nitely/Spirit/contributors","subscribers_url":"https://api.github.com/repos/nitely/Spirit/subscribers","subscription_url":"https://api.github.com/repos/nitely/Spirit/subscription","commits_url":"https://api.github.com/repos/nitely/Spirit/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitely/Spirit/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitely/Spirit/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitely/Spirit/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitely/Spirit/contents/{+path}","compare_url":"https://api.github.com/repos/nitely/Spirit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitely/Spirit/merges","archive_url":"https://api.github.com/repos/nitely/Spirit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitely/Spirit/downloads","issues_url":"https://api.github.com/repos/nitely/Spirit/issues{/number}","pulls_url":"https://api.github.com/repos/nitely/Spirit/pulls{/number}","milestones_url":"https://api.github.com/repos/nitely/Spirit/milestones{/number}","notifications_url":"https://api.github.com/repos/nitely/Spirit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitely/Spirit/labels{/name}","releases_url":"https://api.github.com/repos/nitely/Spirit/releases{/id}","deployments_url":"https://api.github.com/repos/nitely/Spirit/deployments","created_at":"2014-05-09T21:31:33Z","updated_at":"2016-04-24T10:18:15Z","pushed_at":"2016-04-24T12:59:29Z","git_url":"git://github.com/nitely/Spirit.git","ssh_url":"git@github.com:nitely/Spirit.git","clone_url":"https://github.com/nitely/Spirit.git","svn_url":"https://github.com/nitely/Spirit","homepage":"http://spirit-project.com/","size":5865,"stargazers_count":518,"watchers_count":518,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":27,"forks":122,"open_issues":27,"watchers":518,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/112"},"html":{"href":"https://github.com/nitely/Spirit/pull/112"},"issue":{"href":"https://api.github.com/repos/nitely/Spirit/issues/112"},"comments":{"href":"https://api.github.com/repos/nitely/Spirit/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nitely/Spirit/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/nitely/Spirit/statuses/8ff664682b1a070ca31ed902f9a009c792681683"}}}}