{"action":"created","comment":{"url":"https://api.github.com/repos/edvio4/catechumen/pulls/comments/50893500","id":50893500,"diff_hunk":"@@ -0,0 +1,39 @@\n+%div{ class: \"row main_container\" }\n+  = render 'layouts/left_nav'\n+  = render 'students/student_menu'\n+  .calendar\n+    %h4= \"#{@student.name}'s Calendar\"\n+    .view_links\n+      = link_to 'Month', start_date: params[:start_date], view: 'month'\n+      = link_to 'Week', start_date: params[:start_date], view: 'week'\n+    %div{ class: 'small-10 columns calendar_container' }\n+      - if params[:view] == 'month'\n+        .month\n+          = month_calendar events: @lessons do |date, lessons|\n+            = date\n+\n+            - lessons.sort_by! { |x| [x.lesson_database_object.curriculum.resource.title, x.lesson_database_object.unit, x.lesson_database_object.division_unit] }","path":"app/views/lessons/index.html.haml","position":15,"original_position":15,"commit_id":"ca145340dc9631a0bc7d0e1fca515b0c8a7f04c7","original_commit_id":"ca145340dc9631a0bc7d0e1fca515b0c8a7f04c7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [162/80]","created_at":"2016-01-26T20:16:37Z","updated_at":"2016-01-26T20:16:37Z","html_url":"https://github.com/edvio4/catechumen/pull/12#discussion_r50893500","pull_request_url":"https://api.github.com/repos/edvio4/catechumen/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/comments/50893500"},"html":{"href":"https://github.com/edvio4/catechumen/pull/12#discussion_r50893500"},"pull_request":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/edvio4/catechumen/pulls/12","id":57265099,"html_url":"https://github.com/edvio4/catechumen/pull/12","diff_url":"https://github.com/edvio4/catechumen/pull/12.diff","patch_url":"https://github.com/edvio4/catechumen/pull/12.patch","issue_url":"https://api.github.com/repos/edvio4/catechumen/issues/12","number":12,"state":"open","locked":false,"title":"Create calendar","user":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-26T20:13:29Z","updated_at":"2016-01-26T20:16:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd8d33abd92a02f937ffa0d5810d549f610fb988","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edvio4/catechumen/pulls/12/commits","review_comments_url":"https://api.github.com/repos/edvio4/catechumen/pulls/12/comments","review_comment_url":"https://api.github.com/repos/edvio4/catechumen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edvio4/catechumen/issues/12/comments","statuses_url":"https://api.github.com/repos/edvio4/catechumen/statuses/ca145340dc9631a0bc7d0e1fca515b0c8a7f04c7","head":{"label":"edvio4:create_calendar","ref":"create_calendar","sha":"ca145340dc9631a0bc7d0e1fca515b0c8a7f04c7","user":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"repo":{"id":49338290,"name":"catechumen","full_name":"edvio4/catechumen","owner":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edvio4/catechumen","description":"","fork":false,"url":"https://api.github.com/repos/edvio4/catechumen","forks_url":"https://api.github.com/repos/edvio4/catechumen/forks","keys_url":"https://api.github.com/repos/edvio4/catechumen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edvio4/catechumen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edvio4/catechumen/teams","hooks_url":"https://api.github.com/repos/edvio4/catechumen/hooks","issue_events_url":"https://api.github.com/repos/edvio4/catechumen/issues/events{/number}","events_url":"https://api.github.com/repos/edvio4/catechumen/events","assignees_url":"https://api.github.com/repos/edvio4/catechumen/assignees{/user}","branches_url":"https://api.github.com/repos/edvio4/catechumen/branches{/branch}","tags_url":"https://api.github.com/repos/edvio4/catechumen/tags","blobs_url":"https://api.github.com/repos/edvio4/catechumen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edvio4/catechumen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edvio4/catechumen/git/refs{/sha}","trees_url":"https://api.github.com/repos/edvio4/catechumen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edvio4/catechumen/statuses/{sha}","languages_url":"https://api.github.com/repos/edvio4/catechumen/languages","stargazers_url":"https://api.github.com/repos/edvio4/catechumen/stargazers","contributors_url":"https://api.github.com/repos/edvio4/catechumen/contributors","subscribers_url":"https://api.github.com/repos/edvio4/catechumen/subscribers","subscription_url":"https://api.github.com/repos/edvio4/catechumen/subscription","commits_url":"https://api.github.com/repos/edvio4/catechumen/commits{/sha}","git_commits_url":"https://api.github.com/repos/edvio4/catechumen/git/commits{/sha}","comments_url":"https://api.github.com/repos/edvio4/catechumen/comments{/number}","issue_comment_url":"https://api.github.com/repos/edvio4/catechumen/issues/comments{/number}","contents_url":"https://api.github.com/repos/edvio4/catechumen/contents/{+path}","compare_url":"https://api.github.com/repos/edvio4/catechumen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edvio4/catechumen/merges","archive_url":"https://api.github.com/repos/edvio4/catechumen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edvio4/catechumen/downloads","issues_url":"https://api.github.com/repos/edvio4/catechumen/issues{/number}","pulls_url":"https://api.github.com/repos/edvio4/catechumen/pulls{/number}","milestones_url":"https://api.github.com/repos/edvio4/catechumen/milestones{/number}","notifications_url":"https://api.github.com/repos/edvio4/catechumen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edvio4/catechumen/labels{/name}","releases_url":"https://api.github.com/repos/edvio4/catechumen/releases{/id}","deployments_url":"https://api.github.com/repos/edvio4/catechumen/deployments","created_at":"2016-01-09T19:32:14Z","updated_at":"2016-01-19T19:16:18Z","pushed_at":"2016-01-26T20:16:11Z","git_url":"git://github.com/edvio4/catechumen.git","ssh_url":"git@github.com:edvio4/catechumen.git","clone_url":"https://github.com/edvio4/catechumen.git","svn_url":"https://github.com/edvio4/catechumen","homepage":null,"size":263,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"edvio4:master","ref":"master","sha":"d7a297c33375be9424872908ff6bb9bf7762f6b1","user":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"repo":{"id":49338290,"name":"catechumen","full_name":"edvio4/catechumen","owner":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edvio4/catechumen","description":"","fork":false,"url":"https://api.github.com/repos/edvio4/catechumen","forks_url":"https://api.github.com/repos/edvio4/catechumen/forks","keys_url":"https://api.github.com/repos/edvio4/catechumen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edvio4/catechumen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edvio4/catechumen/teams","hooks_url":"https://api.github.com/repos/edvio4/catechumen/hooks","issue_events_url":"https://api.github.com/repos/edvio4/catechumen/issues/events{/number}","events_url":"https://api.github.com/repos/edvio4/catechumen/events","assignees_url":"https://api.github.com/repos/edvio4/catechumen/assignees{/user}","branches_url":"https://api.github.com/repos/edvio4/catechumen/branches{/branch}","tags_url":"https://api.github.com/repos/edvio4/catechumen/tags","blobs_url":"https://api.github.com/repos/edvio4/catechumen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edvio4/catechumen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edvio4/catechumen/git/refs{/sha}","trees_url":"https://api.github.com/repos/edvio4/catechumen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edvio4/catechumen/statuses/{sha}","languages_url":"https://api.github.com/repos/edvio4/catechumen/languages","stargazers_url":"https://api.github.com/repos/edvio4/catechumen/stargazers","contributors_url":"https://api.github.com/repos/edvio4/catechumen/contributors","subscribers_url":"https://api.github.com/repos/edvio4/catechumen/subscribers","subscription_url":"https://api.github.com/repos/edvio4/catechumen/subscription","commits_url":"https://api.github.com/repos/edvio4/catechumen/commits{/sha}","git_commits_url":"https://api.github.com/repos/edvio4/catechumen/git/commits{/sha}","comments_url":"https://api.github.com/repos/edvio4/catechumen/comments{/number}","issue_comment_url":"https://api.github.com/repos/edvio4/catechumen/issues/comments{/number}","contents_url":"https://api.github.com/repos/edvio4/catechumen/contents/{+path}","compare_url":"https://api.github.com/repos/edvio4/catechumen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edvio4/catechumen/merges","archive_url":"https://api.github.com/repos/edvio4/catechumen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edvio4/catechumen/downloads","issues_url":"https://api.github.com/repos/edvio4/catechumen/issues{/number}","pulls_url":"https://api.github.com/repos/edvio4/catechumen/pulls{/number}","milestones_url":"https://api.github.com/repos/edvio4/catechumen/milestones{/number}","notifications_url":"https://api.github.com/repos/edvio4/catechumen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edvio4/catechumen/labels{/name}","releases_url":"https://api.github.com/repos/edvio4/catechumen/releases{/id}","deployments_url":"https://api.github.com/repos/edvio4/catechumen/deployments","created_at":"2016-01-09T19:32:14Z","updated_at":"2016-01-19T19:16:18Z","pushed_at":"2016-01-26T20:16:11Z","git_url":"git://github.com/edvio4/catechumen.git","ssh_url":"git@github.com:edvio4/catechumen.git","clone_url":"https://github.com/edvio4/catechumen.git","svn_url":"https://github.com/edvio4/catechumen","homepage":null,"size":263,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/12"},"html":{"href":"https://github.com/edvio4/catechumen/pull/12"},"issue":{"href":"https://api.github.com/repos/edvio4/catechumen/issues/12"},"comments":{"href":"https://api.github.com/repos/edvio4/catechumen/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edvio4/catechumen/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/edvio4/catechumen/statuses/ca145340dc9631a0bc7d0e1fca515b0c8a7f04c7"}}}}