{"action":"created","comment":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/65561891","id":65561891,"diff_hunk":"@@ -0,0 +1,47 @@\n+class MS.Views.LogModalView extends Backbone.View\n+\n+  el: '#log-modal'\n+\n+  events:\n+    'click [data-action=\"submit\"]': 'submitForm'\n+    'ajax:success': 'ajaxSuccess'\n+    'click [data-control]': 'expandContent'\n+\n+  showEdit: (logId, stepId) ->\n+    MS.loadingIndicator.show()\n+    @stepId = stepId\n+    $.get \"/admin/project_logs/#{logId}/edit\", (html) =>\n+      @replaceContent(html)\n+\n+  showNew: (stepId) ->\n+    MS.loadingIndicator.show()\n+    @stepId = stepId\n+    $.get '/admin/project_logs/new', step_id: @stepId, (html) =>\n+      @replaceContent(html)\n+\n+  replaceContent: (html) ->\n+    @$el.find('.modal-content').html(html)","path":"app/assets/javascripts/backbone/views/log_modal_view.coffee","position":23,"original_position":23,"commit_id":"7aa4b908831fae96f9cbb0f0aecc4d877c9ca4a5","original_commit_id":"7aa4b908831fae96f9cbb0f0aecc4d877c9ca4a5","user":{"login":"hooverlunch","id":702320,"avatar_url":"https://avatars.githubusercontent.com/u/702320?v=3","gravatar_id":"","url":"https://api.github.com/users/hooverlunch","html_url":"https://github.com/hooverlunch","followers_url":"https://api.github.com/users/hooverlunch/followers","following_url":"https://api.github.com/users/hooverlunch/following{/other_user}","gists_url":"https://api.github.com/users/hooverlunch/gists{/gist_id}","starred_url":"https://api.github.com/users/hooverlunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooverlunch/subscriptions","organizations_url":"https://api.github.com/users/hooverlunch/orgs","repos_url":"https://api.github.com/users/hooverlunch/repos","events_url":"https://api.github.com/users/hooverlunch/events{/privacy}","received_events_url":"https://api.github.com/users/hooverlunch/received_events","type":"User","site_admin":false},"body":"Note that `@$el.find` is the same as `@$`.","created_at":"2016-06-02T15:27:51Z","updated_at":"2016-06-02T15:27:51Z","html_url":"https://github.com/sassafrastech/madeline_system/pull/85#discussion_r65561891","pull_request_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/65561891"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/85#discussion_r65561891"},"pull_request":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85","id":70596126,"html_url":"https://github.com/sassafrastech/madeline_system/pull/85","diff_url":"https://github.com/sassafrastech/madeline_system/pull/85.diff","patch_url":"https://github.com/sassafrastech/madeline_system/pull/85.patch","issue_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/85","number":85,"state":"open","locked":false,"title":"3770 project logs","user":{"login":"emitche","id":1853878,"avatar_url":"https://avatars.githubusercontent.com/u/1853878?v=3","gravatar_id":"","url":"https://api.github.com/users/emitche","html_url":"https://github.com/emitche","followers_url":"https://api.github.com/users/emitche/followers","following_url":"https://api.github.com/users/emitche/following{/other_user}","gists_url":"https://api.github.com/users/emitche/gists{/gist_id}","starred_url":"https://api.github.com/users/emitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emitche/subscriptions","organizations_url":"https://api.github.com/users/emitche/orgs","repos_url":"https://api.github.com/users/emitche/repos","events_url":"https://api.github.com/users/emitche/events{/privacy}","received_events_url":"https://api.github.com/users/emitche/received_events","type":"User","site_admin":false},"body":"- Refactor translatable parts of step form\r\n- Add new log and edit log\r\n- Add media to existing log\r\n- Refactor media to work with log modal","created_at":"2016-05-18T20:45:13Z","updated_at":"2016-06-02T15:27:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a72fca171ab073210ead24c57a328dcc6ebc5be6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85/commits","review_comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85/comments","review_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/85/comments","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/7aa4b908831fae96f9cbb0f0aecc4d877c9ca4a5","head":{"label":"sassafrastech:3770_project_logs","ref":"3770_project_logs","sha":"7aa4b908831fae96f9cbb0f0aecc4d877c9ca4a5","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":"","fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-01-12T00:19:27Z","pushed_at":"2016-06-02T15:23:08Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":2940,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"sassafrastech:develop","ref":"develop","sha":"4ed3c92b94016444f441e213472ed0a3c531866b","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":"","fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-01-12T00:19:27Z","pushed_at":"2016-06-02T15:23:08Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":2940,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/85"},"issue":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/85"},"comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/7aa4b908831fae96f9cbb0f0aecc4d877c9ca4a5"}}}}
{"actor":{"display_login":"hooverlunch"}}