{"action":"created","comment":{"url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/comments/45659803","id":45659803,"diff_hunk":"@@ -38,28 +38,28 @@\n                             {% else %}\n                                 <span data-toggle=\"tooltip\" data-placement=\"left\" title=\"{% trans \"Not enough answers were given.\" %}\">{{ course.name }}</span>\n                             {% endif %}\n-                            </td>\n+                            </td> \n                             <td>{{ course.type }}</td>\n                             {% with responsible=course.responsible_contributor %}\n                                 <td data-order=\"{{ responsible.last_name }}\">{{ responsible.full_name }}</td>\n                             {% endwith %}\n-                            {% if not course.avg_grade %}\n-                                <td></td>\n-                                <td></td>\n-                            {% elif course|can_user_see_results:request.user %}\n+                          \n+                            {% if course|can_user_see_results:request.user and course.avg_grade %}\n                                 <td class=\"text-center\"><div class=\"grade-bg\" style=\"background-color: {{ course.avg_grade|gradecolor }};\">{{ course.avg_grade|floatformat:1 }}</div></td>\n-                                <td class=\"text-center\"><div class=\"deviation-bg\" style=\"background-color: {{ course.avg_deviation|deviationcolor }};\">{{ course.avg_deviation|floatformat:1 }}</div></td>\n-                            {% else %}\n+                                <td class=\"text-center\"><div class=\"deviation-bg\" style=\"background-color: {{ course.avg_deviation|deviationcolor }};\">{{ course.avg_deviation|floatformat:1 }}</div></td> \n+                           {% else %}\n                                 <td class=\"text-center\"><div class=\"grade-bg grade-bg-disabled\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"{% trans \"Not enough answers were given.\" %}\">&mdash;</div></td>\n                                 <td class=\"text-center\"><div class=\"deviation-bg deviation-bg-disabled\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"{% trans \"Not enough answers were given.\" %}\">&mdash;</div></td>\n                             {% endif %}\n                             {% with num_participants=course.num_participants num_voters=course.num_voters %}\n                                 <td data-order=\"{{ num_voters|percentage_value:num_participants|default:'0' }}\">{% include_progress_bar num_voters num_participants %}</td>\n-                            {% endwith %}\n-                        </tr>\n+                            {% endwith %} \n+                        </tr> \n+                       ","path":"evap/results/templates/results_semester_detail.html","position":30,"original_position":30,"commit_id":"c0c3583395618146e4a5f1aae6f437f5c14bb65c","original_commit_id":"c0c3583395618146e4a5f1aae6f437f5c14bb65c","user":{"login":"janno42","id":1781719,"avatar_url":"https://avatars.githubusercontent.com/u/1781719?v=3","gravatar_id":"","url":"https://api.github.com/users/janno42","html_url":"https://github.com/janno42","followers_url":"https://api.github.com/users/janno42/followers","following_url":"https://api.github.com/users/janno42/following{/other_user}","gists_url":"https://api.github.com/users/janno42/gists{/gist_id}","starred_url":"https://api.github.com/users/janno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janno42/subscriptions","organizations_url":"https://api.github.com/users/janno42/orgs","repos_url":"https://api.github.com/users/janno42/repos","events_url":"https://api.github.com/users/janno42/events{/privacy}","received_events_url":"https://api.github.com/users/janno42/received_events","type":"User","site_admin":false},"body":"please remove line","created_at":"2015-11-23T21:00:52Z","updated_at":"2015-11-23T21:00:52Z","html_url":"https://github.com/fsr-itse/EvaP/pull/673#discussion_r45659803","pull_request_url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673","_links":{"self":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/comments/45659803"},"html":{"href":"https://github.com/fsr-itse/EvaP/pull/673#discussion_r45659803"},"pull_request":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673"}}},"pull_request":{"url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673","id":51566226,"html_url":"https://github.com/fsr-itse/EvaP/pull/673","diff_url":"https://github.com/fsr-itse/EvaP/pull/673.diff","patch_url":"https://github.com/fsr-itse/EvaP/pull/673.patch","issue_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/673","number":673,"state":"open","locked":false,"title":"Added Missing grade box for courses with no votes","user":{"login":"conradlempert","id":15984531,"avatar_url":"https://avatars.githubusercontent.com/u/15984531?v=3","gravatar_id":"","url":"https://api.github.com/users/conradlempert","html_url":"https://github.com/conradlempert","followers_url":"https://api.github.com/users/conradlempert/followers","following_url":"https://api.github.com/users/conradlempert/following{/other_user}","gists_url":"https://api.github.com/users/conradlempert/gists{/gist_id}","starred_url":"https://api.github.com/users/conradlempert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conradlempert/subscriptions","organizations_url":"https://api.github.com/users/conradlempert/orgs","repos_url":"https://api.github.com/users/conradlempert/repos","events_url":"https://api.github.com/users/conradlempert/events{/privacy}","received_events_url":"https://api.github.com/users/conradlempert/received_events","type":"User","site_admin":false},"body":"Fixes #646 ","created_at":"2015-11-23T19:11:45Z","updated_at":"2015-11-23T21:00:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b4feda3611f414fc05cd1e422f15709c468831a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673/commits","review_comments_url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673/comments","review_comment_url":"https://api.github.com/repos/fsr-itse/EvaP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/673/comments","statuses_url":"https://api.github.com/repos/fsr-itse/EvaP/statuses/c0c3583395618146e4a5f1aae6f437f5c14bb65c","head":{"label":"conradlempert:issue_646","ref":"issue_646","sha":"c0c3583395618146e4a5f1aae6f437f5c14bb65c","user":{"login":"conradlempert","id":15984531,"avatar_url":"https://avatars.githubusercontent.com/u/15984531?v=3","gravatar_id":"","url":"https://api.github.com/users/conradlempert","html_url":"https://github.com/conradlempert","followers_url":"https://api.github.com/users/conradlempert/followers","following_url":"https://api.github.com/users/conradlempert/following{/other_user}","gists_url":"https://api.github.com/users/conradlempert/gists{/gist_id}","starred_url":"https://api.github.com/users/conradlempert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conradlempert/subscriptions","organizations_url":"https://api.github.com/users/conradlempert/orgs","repos_url":"https://api.github.com/users/conradlempert/repos","events_url":"https://api.github.com/users/conradlempert/events{/privacy}","received_events_url":"https://api.github.com/users/conradlempert/received_events","type":"User","site_admin":false},"repo":{"id":46735076,"name":"EvaP","full_name":"conradlempert/EvaP","owner":{"login":"conradlempert","id":15984531,"avatar_url":"https://avatars.githubusercontent.com/u/15984531?v=3","gravatar_id":"","url":"https://api.github.com/users/conradlempert","html_url":"https://github.com/conradlempert","followers_url":"https://api.github.com/users/conradlempert/followers","following_url":"https://api.github.com/users/conradlempert/following{/other_user}","gists_url":"https://api.github.com/users/conradlempert/gists{/gist_id}","starred_url":"https://api.github.com/users/conradlempert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conradlempert/subscriptions","organizations_url":"https://api.github.com/users/conradlempert/orgs","repos_url":"https://api.github.com/users/conradlempert/repos","events_url":"https://api.github.com/users/conradlempert/events{/privacy}","received_events_url":"https://api.github.com/users/conradlempert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/conradlempert/EvaP","description":"a university course evaluation system written in Python using Django","fork":true,"url":"https://api.github.com/repos/conradlempert/EvaP","forks_url":"https://api.github.com/repos/conradlempert/EvaP/forks","keys_url":"https://api.github.com/repos/conradlempert/EvaP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conradlempert/EvaP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conradlempert/EvaP/teams","hooks_url":"https://api.github.com/repos/conradlempert/EvaP/hooks","issue_events_url":"https://api.github.com/repos/conradlempert/EvaP/issues/events{/number}","events_url":"https://api.github.com/repos/conradlempert/EvaP/events","assignees_url":"https://api.github.com/repos/conradlempert/EvaP/assignees{/user}","branches_url":"https://api.github.com/repos/conradlempert/EvaP/branches{/branch}","tags_url":"https://api.github.com/repos/conradlempert/EvaP/tags","blobs_url":"https://api.github.com/repos/conradlempert/EvaP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conradlempert/EvaP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conradlempert/EvaP/git/refs{/sha}","trees_url":"https://api.github.com/repos/conradlempert/EvaP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conradlempert/EvaP/statuses/{sha}","languages_url":"https://api.github.com/repos/conradlempert/EvaP/languages","stargazers_url":"https://api.github.com/repos/conradlempert/EvaP/stargazers","contributors_url":"https://api.github.com/repos/conradlempert/EvaP/contributors","subscribers_url":"https://api.github.com/repos/conradlempert/EvaP/subscribers","subscription_url":"https://api.github.com/repos/conradlempert/EvaP/subscription","commits_url":"https://api.github.com/repos/conradlempert/EvaP/commits{/sha}","git_commits_url":"https://api.github.com/repos/conradlempert/EvaP/git/commits{/sha}","comments_url":"https://api.github.com/repos/conradlempert/EvaP/comments{/number}","issue_comment_url":"https://api.github.com/repos/conradlempert/EvaP/issues/comments{/number}","contents_url":"https://api.github.com/repos/conradlempert/EvaP/contents/{+path}","compare_url":"https://api.github.com/repos/conradlempert/EvaP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conradlempert/EvaP/merges","archive_url":"https://api.github.com/repos/conradlempert/EvaP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conradlempert/EvaP/downloads","issues_url":"https://api.github.com/repos/conradlempert/EvaP/issues{/number}","pulls_url":"https://api.github.com/repos/conradlempert/EvaP/pulls{/number}","milestones_url":"https://api.github.com/repos/conradlempert/EvaP/milestones{/number}","notifications_url":"https://api.github.com/repos/conradlempert/EvaP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conradlempert/EvaP/labels{/name}","releases_url":"https://api.github.com/repos/conradlempert/EvaP/releases{/id}","created_at":"2015-11-23T16:59:12Z","updated_at":"2015-11-23T16:59:14Z","pushed_at":"2015-11-23T19:10:42Z","git_url":"git://github.com/conradlempert/EvaP.git","ssh_url":"git@github.com:conradlempert/EvaP.git","clone_url":"https://github.com/conradlempert/EvaP.git","svn_url":"https://github.com/conradlempert/EvaP","homepage":"","size":9751,"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":"fsr-itse:master","ref":"master","sha":"616e05713bc0599a8a6bdd89e86787e78d973a2f","user":{"login":"fsr-itse","id":1298457,"avatar_url":"https://avatars.githubusercontent.com/u/1298457?v=3","gravatar_id":"","url":"https://api.github.com/users/fsr-itse","html_url":"https://github.com/fsr-itse","followers_url":"https://api.github.com/users/fsr-itse/followers","following_url":"https://api.github.com/users/fsr-itse/following{/other_user}","gists_url":"https://api.github.com/users/fsr-itse/gists{/gist_id}","starred_url":"https://api.github.com/users/fsr-itse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsr-itse/subscriptions","organizations_url":"https://api.github.com/users/fsr-itse/orgs","repos_url":"https://api.github.com/users/fsr-itse/repos","events_url":"https://api.github.com/users/fsr-itse/events{/privacy}","received_events_url":"https://api.github.com/users/fsr-itse/received_events","type":"Organization","site_admin":false},"repo":{"id":3110378,"name":"EvaP","full_name":"fsr-itse/EvaP","owner":{"login":"fsr-itse","id":1298457,"avatar_url":"https://avatars.githubusercontent.com/u/1298457?v=3","gravatar_id":"","url":"https://api.github.com/users/fsr-itse","html_url":"https://github.com/fsr-itse","followers_url":"https://api.github.com/users/fsr-itse/followers","following_url":"https://api.github.com/users/fsr-itse/following{/other_user}","gists_url":"https://api.github.com/users/fsr-itse/gists{/gist_id}","starred_url":"https://api.github.com/users/fsr-itse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsr-itse/subscriptions","organizations_url":"https://api.github.com/users/fsr-itse/orgs","repos_url":"https://api.github.com/users/fsr-itse/repos","events_url":"https://api.github.com/users/fsr-itse/events{/privacy}","received_events_url":"https://api.github.com/users/fsr-itse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsr-itse/EvaP","description":"a university course evaluation system written in Python using Django","fork":false,"url":"https://api.github.com/repos/fsr-itse/EvaP","forks_url":"https://api.github.com/repos/fsr-itse/EvaP/forks","keys_url":"https://api.github.com/repos/fsr-itse/EvaP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsr-itse/EvaP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsr-itse/EvaP/teams","hooks_url":"https://api.github.com/repos/fsr-itse/EvaP/hooks","issue_events_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/events{/number}","events_url":"https://api.github.com/repos/fsr-itse/EvaP/events","assignees_url":"https://api.github.com/repos/fsr-itse/EvaP/assignees{/user}","branches_url":"https://api.github.com/repos/fsr-itse/EvaP/branches{/branch}","tags_url":"https://api.github.com/repos/fsr-itse/EvaP/tags","blobs_url":"https://api.github.com/repos/fsr-itse/EvaP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsr-itse/EvaP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsr-itse/EvaP/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsr-itse/EvaP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsr-itse/EvaP/statuses/{sha}","languages_url":"https://api.github.com/repos/fsr-itse/EvaP/languages","stargazers_url":"https://api.github.com/repos/fsr-itse/EvaP/stargazers","contributors_url":"https://api.github.com/repos/fsr-itse/EvaP/contributors","subscribers_url":"https://api.github.com/repos/fsr-itse/EvaP/subscribers","subscription_url":"https://api.github.com/repos/fsr-itse/EvaP/subscription","commits_url":"https://api.github.com/repos/fsr-itse/EvaP/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsr-itse/EvaP/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsr-itse/EvaP/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsr-itse/EvaP/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsr-itse/EvaP/contents/{+path}","compare_url":"https://api.github.com/repos/fsr-itse/EvaP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsr-itse/EvaP/merges","archive_url":"https://api.github.com/repos/fsr-itse/EvaP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsr-itse/EvaP/downloads","issues_url":"https://api.github.com/repos/fsr-itse/EvaP/issues{/number}","pulls_url":"https://api.github.com/repos/fsr-itse/EvaP/pulls{/number}","milestones_url":"https://api.github.com/repos/fsr-itse/EvaP/milestones{/number}","notifications_url":"https://api.github.com/repos/fsr-itse/EvaP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsr-itse/EvaP/labels{/name}","releases_url":"https://api.github.com/repos/fsr-itse/EvaP/releases{/id}","created_at":"2012-01-05T13:56:45Z","updated_at":"2015-11-09T16:21:29Z","pushed_at":"2015-11-23T20:58:57Z","git_url":"git://github.com/fsr-itse/EvaP.git","ssh_url":"git@github.com:fsr-itse/EvaP.git","clone_url":"https://github.com/fsr-itse/EvaP.git","svn_url":"https://github.com/fsr-itse/EvaP","homepage":"","size":49117,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":59,"forks":54,"open_issues":59,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673"},"html":{"href":"https://github.com/fsr-itse/EvaP/pull/673"},"issue":{"href":"https://api.github.com/repos/fsr-itse/EvaP/issues/673"},"comments":{"href":"https://api.github.com/repos/fsr-itse/EvaP/issues/673/comments"},"review_comments":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673/comments"},"review_comment":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsr-itse/EvaP/pulls/673/commits"},"statuses":{"href":"https://api.github.com/repos/fsr-itse/EvaP/statuses/c0c3583395618146e4a5f1aae6f437f5c14bb65c"}}}}