{"action":"created","comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/24275952","id":24275952,"diff_hunk":"@@ -11,12 +11,47 @@\n   </div>\n   <div class='sub_block'>\n     <span class='prop_label'><%= t('message') %>:</span>\n-    <span class='box clear'><%= @assignment.message %></span>\n+    <%= @assignment.message %>\n+    <!-- <span class='box clear'><%= @assignment.message %></span> -->\n   </div>\n   <div class='sub_block'>\n     <span class='prop_label'><%= t('due_date') %>:</span>\n     <%= I18n.l(@due_date, format: :long_date ) %>\n   </div>\n+    \n+  \n+  <div class='sub_block'>\n+    <span class='prop_label'>Lateness Penalty:</span>\n+    <% if @penalty.type == \"GracePeriodSubmissionRule\" %>\n+      Grace Period","path":"app/views/assignments/_read.html.erb","position":17,"original_position":17,"commit_id":"301c5e4d32d6c7f921276a096835eaac9664031d","original_commit_id":"301c5e4d32d6c7f921276a096835eaac9664031d","user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"body":"These should be internationalized strings.","created_at":"2015-02-06T22:05:48Z","updated_at":"2015-02-06T22:05:48Z","html_url":"https://github.com/MarkUsProject/Markus/pull/2024#discussion_r24275952","pull_request_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024","_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/24275952"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2024#discussion_r24275952"},"pull_request":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024"}}},"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024","id":28728012,"html_url":"https://github.com/MarkUsProject/Markus/pull/2024","diff_url":"https://github.com/MarkUsProject/Markus/pull/2024.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2024.patch","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2024","number":2024,"state":"open","locked":false,"title":"Partially working issue-1738","user":{"login":"tsimica","id":2952611,"avatar_url":"https://avatars.githubusercontent.com/u/2952611?v=3","gravatar_id":"","url":"https://api.github.com/users/tsimica","html_url":"https://github.com/tsimica","followers_url":"https://api.github.com/users/tsimica/followers","following_url":"https://api.github.com/users/tsimica/following{/other_user}","gists_url":"https://api.github.com/users/tsimica/gists{/gist_id}","starred_url":"https://api.github.com/users/tsimica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsimica/subscriptions","organizations_url":"https://api.github.com/users/tsimica/orgs","repos_url":"https://api.github.com/users/tsimica/repos","events_url":"https://api.github.com/users/tsimica/events{/privacy}","received_events_url":"https://api.github.com/users/tsimica/received_events","type":"User","site_admin":false},"body":"This code hasn't been tested with having only one person in a group but has been with the default seeds file. Also, another issue will have to be made with respect to having either a Penalty Submission Rule or a Penalty Decay Rule as the schema does not enforce the order in which penalties are enforced (and thus can't be enumerated). \r\n\r\nI will work on this after the Rails 4 issues are completed. ","created_at":"2015-02-05T14:24:30Z","updated_at":"2015-02-06T22:05:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"611ab39c4dea4695a938e6c4a144838658ccc3c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024/commits","review_comments_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024/comments","review_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2024/comments","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/301c5e4d32d6c7f921276a096835eaac9664031d","head":{"label":"tsimica:issue-1738","ref":"issue-1738","sha":"301c5e4d32d6c7f921276a096835eaac9664031d","user":{"login":"tsimica","id":2952611,"avatar_url":"https://avatars.githubusercontent.com/u/2952611?v=3","gravatar_id":"","url":"https://api.github.com/users/tsimica","html_url":"https://github.com/tsimica","followers_url":"https://api.github.com/users/tsimica/followers","following_url":"https://api.github.com/users/tsimica/following{/other_user}","gists_url":"https://api.github.com/users/tsimica/gists{/gist_id}","starred_url":"https://api.github.com/users/tsimica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsimica/subscriptions","organizations_url":"https://api.github.com/users/tsimica/orgs","repos_url":"https://api.github.com/users/tsimica/repos","events_url":"https://api.github.com/users/tsimica/events{/privacy}","received_events_url":"https://api.github.com/users/tsimica/received_events","type":"User","site_admin":false},"repo":{"id":29371407,"name":"Markus","full_name":"tsimica/Markus","owner":{"login":"tsimica","id":2952611,"avatar_url":"https://avatars.githubusercontent.com/u/2952611?v=3","gravatar_id":"","url":"https://api.github.com/users/tsimica","html_url":"https://github.com/tsimica","followers_url":"https://api.github.com/users/tsimica/followers","following_url":"https://api.github.com/users/tsimica/following{/other_user}","gists_url":"https://api.github.com/users/tsimica/gists{/gist_id}","starred_url":"https://api.github.com/users/tsimica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsimica/subscriptions","organizations_url":"https://api.github.com/users/tsimica/orgs","repos_url":"https://api.github.com/users/tsimica/repos","events_url":"https://api.github.com/users/tsimica/events{/privacy}","received_events_url":"https://api.github.com/users/tsimica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsimica/Markus","description":"Git repository of MarkUs","fork":true,"url":"https://api.github.com/repos/tsimica/Markus","forks_url":"https://api.github.com/repos/tsimica/Markus/forks","keys_url":"https://api.github.com/repos/tsimica/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsimica/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsimica/Markus/teams","hooks_url":"https://api.github.com/repos/tsimica/Markus/hooks","issue_events_url":"https://api.github.com/repos/tsimica/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/tsimica/Markus/events","assignees_url":"https://api.github.com/repos/tsimica/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/tsimica/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/tsimica/Markus/tags","blobs_url":"https://api.github.com/repos/tsimica/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsimica/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsimica/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsimica/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsimica/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/tsimica/Markus/languages","stargazers_url":"https://api.github.com/repos/tsimica/Markus/stargazers","contributors_url":"https://api.github.com/repos/tsimica/Markus/contributors","subscribers_url":"https://api.github.com/repos/tsimica/Markus/subscribers","subscription_url":"https://api.github.com/repos/tsimica/Markus/subscription","commits_url":"https://api.github.com/repos/tsimica/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsimica/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsimica/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsimica/Markus/issues/comments/{number}","contents_url":"https://api.github.com/repos/tsimica/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/tsimica/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsimica/Markus/merges","archive_url":"https://api.github.com/repos/tsimica/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsimica/Markus/downloads","issues_url":"https://api.github.com/repos/tsimica/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/tsimica/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/tsimica/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/tsimica/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsimica/Markus/labels{/name}","releases_url":"https://api.github.com/repos/tsimica/Markus/releases{/id}","created_at":"2015-01-16T22:48:17Z","updated_at":"2015-01-16T22:48:20Z","pushed_at":"2015-02-05T14:22:14Z","git_url":"git://github.com/tsimica/Markus.git","ssh_url":"git@github.com:tsimica/Markus.git","clone_url":"https://github.com/tsimica/Markus.git","svn_url":"https://github.com/tsimica/Markus","homepage":"http://www.markusproject.org","size":20031,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"MarkUsProject:master","ref":"master","sha":"da80085305c9613d96c8bb27023020bbcbdcbd64","user":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"repo":{"id":940538,"name":"Markus","full_name":"MarkUsProject/Markus","owner":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarkUsProject/Markus","description":"Git repository of MarkUs","fork":false,"url":"https://api.github.com/repos/MarkUsProject/Markus","forks_url":"https://api.github.com/repos/MarkUsProject/Markus/forks","keys_url":"https://api.github.com/repos/MarkUsProject/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkUsProject/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkUsProject/Markus/teams","hooks_url":"https://api.github.com/repos/MarkUsProject/Markus/hooks","issue_events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/MarkUsProject/Markus/events","assignees_url":"https://api.github.com/repos/MarkUsProject/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/MarkUsProject/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/MarkUsProject/Markus/tags","blobs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkUsProject/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkUsProject/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkUsProject/Markus/languages","stargazers_url":"https://api.github.com/repos/MarkUsProject/Markus/stargazers","contributors_url":"https://api.github.com/repos/MarkUsProject/Markus/contributors","subscribers_url":"https://api.github.com/repos/MarkUsProject/Markus/subscribers","subscription_url":"https://api.github.com/repos/MarkUsProject/Markus/subscription","commits_url":"https://api.github.com/repos/MarkUsProject/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkUsProject/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments/{number}","contents_url":"https://api.github.com/repos/MarkUsProject/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/MarkUsProject/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkUsProject/Markus/merges","archive_url":"https://api.github.com/repos/MarkUsProject/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkUsProject/Markus/downloads","issues_url":"https://api.github.com/repos/MarkUsProject/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkUsProject/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkUsProject/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/labels{/name}","releases_url":"https://api.github.com/repos/MarkUsProject/Markus/releases{/id}","created_at":"2010-09-26T16:18:08Z","updated_at":"2015-02-03T02:41:07Z","pushed_at":"2015-02-03T02:41:04Z","git_url":"git://github.com/MarkUsProject/Markus.git","ssh_url":"git@github.com:MarkUsProject/Markus.git","clone_url":"https://github.com/MarkUsProject/Markus.git","svn_url":"https://github.com/MarkUsProject/Markus","homepage":"http://www.markusproject.org","size":45092,"stargazers_count":120,"watchers_count":120,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":116,"forks":149,"open_issues":116,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2024"},"issue":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2024"},"comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2024/comments"},"review_comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024/comments"},"review_comment":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2024/commits"},"statuses":{"href":"https://api.github.com/repos/MarkUsProject/Markus/statuses/301c5e4d32d6c7f921276a096835eaac9664031d"}}}}