{"action":"created","comment":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/40999494","id":40999494,"diff_hunk":"@@ -0,0 +1,72 @@\n+//-- copyright\n+// OpenProject is a project management system.\n+// Copyright (C) 2012-2014 the OpenProject Foundation (OPF)\n+//\n+// This program is free software; you can redistribute it and/or\n+// modify it under the terms of the GNU General Public License version 3.\n+//\n+// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:\n+// Copyright (C) 2006-2013 Jean-Philippe Lang\n+// Copyright (C) 2010-2013 the ChiliProject Team\n+//\n+// This program is free software; you can redistribute it and/or\n+// modify it under the terms of the GNU General Public License\n+// as published by the Free Software Foundation; either version 2\n+// of the License, or (at your option) any later version.\n+//\n+// This program is distributed in the hope that it will be useful,\n+// but WITHOUT ANY WARRANTY; without even the implied warranty of\n+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+// GNU General Public License for more details.\n+//\n+// You should have received a copy of the GNU General Public License\n+// along with this program; if not, write to the Free Software\n+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.","path":"frontend/app/work_packages/directives/cost-entry-directive.js","position":24,"original_position":24,"commit_id":"b7c086bae01150f0144612650f39e2dd2c6379d9","original_commit_id":"b7c086bae01150f0144612650f39e2dd2c6379d9","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.","created_at":"2015-10-02T08:12:19Z","updated_at":"2015-10-02T08:12:19Z","html_url":"https://github.com/finnlabs/openproject-costs/pull/170#discussion_r40999494","pull_request_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/40999494"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/170#discussion_r40999494"},"pull_request":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170","id":46611507,"html_url":"https://github.com/finnlabs/openproject-costs/pull/170","diff_url":"https://github.com/finnlabs/openproject-costs/pull/170.diff","patch_url":"https://github.com/finnlabs/openproject-costs/pull/170.patch","issue_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/170","number":170,"state":"open","locked":false,"title":"Fix/show units on summarized cost entries","user":{"login":"ulferts","id":617519,"avatar_url":"https://avatars.githubusercontent.com/u/617519?v=3","gravatar_id":"","url":"https://api.github.com/users/ulferts","html_url":"https://github.com/ulferts","followers_url":"https://api.github.com/users/ulferts/followers","following_url":"https://api.github.com/users/ulferts/following{/other_user}","gists_url":"https://api.github.com/users/ulferts/gists{/gist_id}","starred_url":"https://api.github.com/users/ulferts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulferts/subscriptions","organizations_url":"https://api.github.com/users/ulferts/orgs","repos_url":"https://api.github.com/users/ulferts/repos","events_url":"https://api.github.com/users/ulferts/events{/privacy}","received_events_url":"https://api.github.com/users/ulferts/received_events","type":"User","site_admin":false},"body":"Displays the units name and fixes the link for each cost entry as described by\r\n\r\nhttps://community.openproject.org/work_packages/21695\r\n\r\n:warning: Relies on https://github.com/opf/openproject/pull/3599 to be merged first","created_at":"2015-10-02T08:12:14Z","updated_at":"2015-10-02T08:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10cf78e4e30a3b2dec1d8cc06b380f7e48b5ea3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170/commits","review_comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170/comments","review_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/170/comments","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/b7c086bae01150f0144612650f39e2dd2c6379d9","head":{"label":"ulferts:fix/show_units_on_summarized_cost_entries","ref":"fix/show_units_on_summarized_cost_entries","sha":"b7c086bae01150f0144612650f39e2dd2c6379d9","user":{"login":"ulferts","id":617519,"avatar_url":"https://avatars.githubusercontent.com/u/617519?v=3","gravatar_id":"","url":"https://api.github.com/users/ulferts","html_url":"https://github.com/ulferts","followers_url":"https://api.github.com/users/ulferts/followers","following_url":"https://api.github.com/users/ulferts/following{/other_user}","gists_url":"https://api.github.com/users/ulferts/gists{/gist_id}","starred_url":"https://api.github.com/users/ulferts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulferts/subscriptions","organizations_url":"https://api.github.com/users/ulferts/orgs","repos_url":"https://api.github.com/users/ulferts/repos","events_url":"https://api.github.com/users/ulferts/events{/privacy}","received_events_url":"https://api.github.com/users/ulferts/received_events","type":"User","site_admin":false},"repo":{"id":36865739,"name":"openproject-costs","full_name":"ulferts/openproject-costs","owner":{"login":"ulferts","id":617519,"avatar_url":"https://avatars.githubusercontent.com/u/617519?v=3","gravatar_id":"","url":"https://api.github.com/users/ulferts","html_url":"https://github.com/ulferts","followers_url":"https://api.github.com/users/ulferts/followers","following_url":"https://api.github.com/users/ulferts/following{/other_user}","gists_url":"https://api.github.com/users/ulferts/gists{/gist_id}","starred_url":"https://api.github.com/users/ulferts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulferts/subscriptions","organizations_url":"https://api.github.com/users/ulferts/orgs","repos_url":"https://api.github.com/users/ulferts/repos","events_url":"https://api.github.com/users/ulferts/events{/privacy}","received_events_url":"https://api.github.com/users/ulferts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ulferts/openproject-costs","description":"OpenProject plugin to manage project costs","fork":true,"url":"https://api.github.com/repos/ulferts/openproject-costs","forks_url":"https://api.github.com/repos/ulferts/openproject-costs/forks","keys_url":"https://api.github.com/repos/ulferts/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulferts/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulferts/openproject-costs/teams","hooks_url":"https://api.github.com/repos/ulferts/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/ulferts/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/ulferts/openproject-costs/events","assignees_url":"https://api.github.com/repos/ulferts/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/ulferts/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/ulferts/openproject-costs/tags","blobs_url":"https://api.github.com/repos/ulferts/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulferts/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulferts/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulferts/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulferts/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/ulferts/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/ulferts/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/ulferts/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/ulferts/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/ulferts/openproject-costs/subscription","commits_url":"https://api.github.com/repos/ulferts/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulferts/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulferts/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulferts/openproject-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulferts/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/ulferts/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulferts/openproject-costs/merges","archive_url":"https://api.github.com/repos/ulferts/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulferts/openproject-costs/downloads","issues_url":"https://api.github.com/repos/ulferts/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/ulferts/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/ulferts/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/ulferts/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulferts/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/ulferts/openproject-costs/releases{/id}","created_at":"2015-06-04T11:13:21Z","updated_at":"2015-06-04T11:13:21Z","pushed_at":"2015-10-02T06:32:30Z","git_url":"git://github.com/ulferts/openproject-costs.git","ssh_url":"git@github.com:ulferts/openproject-costs.git","clone_url":"https://github.com/ulferts/openproject-costs.git","svn_url":"https://github.com/ulferts/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":1862,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"finnlabs:dev","ref":"dev","sha":"08bf604574d90e3c34f9020ec0188220e227852c","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":9640519,"name":"openproject-costs","full_name":"finnlabs/openproject-costs","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-costs","description":"OpenProject plugin to manage project costs","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-costs","forks_url":"https://api.github.com/repos/finnlabs/openproject-costs/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-costs/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-costs/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-costs/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-costs/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-costs/releases{/id}","created_at":"2013-04-24T05:58:04Z","updated_at":"2015-09-15T00:06:29Z","pushed_at":"2015-10-02T08:12:16Z","git_url":"git://github.com/finnlabs/openproject-costs.git","ssh_url":"git@github.com:finnlabs/openproject-costs.git","clone_url":"https://github.com/finnlabs/openproject-costs.git","svn_url":"https://github.com/finnlabs/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":3898,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":7,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/170"},"issue":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/170"},"comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/b7c086bae01150f0144612650f39e2dd2c6379d9"}}}}