{"action":"created","comment":{"url":"https://api.github.com/repos/ilios/frontend/pulls/comments/44072921","id":44072921,"diff_hunk":"@@ -74,17 +77,30 @@\n \n                 <td class='text-center'>{{publication-status item=programYear showIcon=false}}</td>\n                 <td class='text-center'>\n-                  {{#action-menu}}\n-                    <li {{action 'edit'}}>Edit</li>\n-                  {{/action-menu}}\n+                  {{#link-to 'programYear.index' program programYear class=\"program-year-link\"}}{{fa-icon 'edit'}}{{/link-to}}\n+                  <span class=\"clickable trash {{if programYear.showRemoveConfirmation 'confirm-removal'}}\" {{action 'remove' programYear}}>{{fa-icon 'trash'}}</span>\n                 </td>\n               </tr>\n+\n+              {{#if programYear.showRemoveConfirmation}}\n+                <tr class='confirm-removal'>\n+                  <td colspan=8>\n+                    <div class='confirm-message'>\n+                      {{t 'programs.confirmRemove' courseCount=program.courseCount}} <br />","path":"app/templates/components/programyear-list.hbs","position":65,"original_position":65,"commit_id":"b91cc5e66c4ba39643da22c88c9690d736f5851f","original_commit_id":"b91cc5e66c4ba39643da22c88c9690d736f5851f","user":{"login":"djvoa12","id":7553764,"avatar_url":"https://avatars.githubusercontent.com/u/7553764?v=3","gravatar_id":"","url":"https://api.github.com/users/djvoa12","html_url":"https://github.com/djvoa12","followers_url":"https://api.github.com/users/djvoa12/followers","following_url":"https://api.github.com/users/djvoa12/following{/other_user}","gists_url":"https://api.github.com/users/djvoa12/gists{/gist_id}","starred_url":"https://api.github.com/users/djvoa12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djvoa12/subscriptions","organizations_url":"https://api.github.com/users/djvoa12/orgs","repos_url":"https://api.github.com/users/djvoa12/repos","events_url":"https://api.github.com/users/djvoa12/events{/privacy}","received_events_url":"https://api.github.com/users/djvoa12/received_events","type":"User","site_admin":false},"body":"Yup. Good catch!","created_at":"2015-11-05T21:38:09Z","updated_at":"2015-11-05T21:38:09Z","html_url":"https://github.com/ilios/frontend/pull/964#discussion_r44072921","pull_request_url":"https://api.github.com/repos/ilios/frontend/pulls/964","_links":{"self":{"href":"https://api.github.com/repos/ilios/frontend/pulls/comments/44072921"},"html":{"href":"https://github.com/ilios/frontend/pull/964#discussion_r44072921"},"pull_request":{"href":"https://api.github.com/repos/ilios/frontend/pulls/964"}}},"pull_request":{"url":"https://api.github.com/repos/ilios/frontend/pulls/964","id":48970760,"html_url":"https://github.com/ilios/frontend/pull/964","diff_url":"https://github.com/ilios/frontend/pull/964.diff","patch_url":"https://github.com/ilios/frontend/pull/964.patch","issue_url":"https://api.github.com/repos/ilios/frontend/issues/964","number":964,"state":"open","locked":false,"title":"create, update, delete program-year","user":{"login":"djvoa12","id":7553764,"avatar_url":"https://avatars.githubusercontent.com/u/7553764?v=3","gravatar_id":"","url":"https://api.github.com/users/djvoa12","html_url":"https://github.com/djvoa12","followers_url":"https://api.github.com/users/djvoa12/followers","following_url":"https://api.github.com/users/djvoa12/following{/other_user}","gists_url":"https://api.github.com/users/djvoa12/gists{/gist_id}","starred_url":"https://api.github.com/users/djvoa12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djvoa12/subscriptions","organizations_url":"https://api.github.com/users/djvoa12/orgs","repos_url":"https://api.github.com/users/djvoa12/repos","events_url":"https://api.github.com/users/djvoa12/events{/privacy}","received_events_url":"https://api.github.com/users/djvoa12/received_events","type":"User","site_admin":false},"body":"- [x]  Create new program-year (Fixes #954)\r\n  - Added constraints\r\n  - If one or more programs years existed already, it takes a specs from the latest one\r\n- [x] Update an existing program-year (Fixes #955)\r\n  - Edit icon works now\r\n- [x] Delete an existing program-year (Fixes #956)\r\n  - Confirmation for removal\r\n- [x] Tests\r\n  - Unit\r\n  - Acceptance","created_at":"2015-10-28T06:59:19Z","updated_at":"2015-11-05T21:38:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6673c5db83f57eeab59744e3c3c30c708dfbf05b","assignee":{"login":"djvoa12","id":7553764,"avatar_url":"https://avatars.githubusercontent.com/u/7553764?v=3","gravatar_id":"","url":"https://api.github.com/users/djvoa12","html_url":"https://github.com/djvoa12","followers_url":"https://api.github.com/users/djvoa12/followers","following_url":"https://api.github.com/users/djvoa12/following{/other_user}","gists_url":"https://api.github.com/users/djvoa12/gists{/gist_id}","starred_url":"https://api.github.com/users/djvoa12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djvoa12/subscriptions","organizations_url":"https://api.github.com/users/djvoa12/orgs","repos_url":"https://api.github.com/users/djvoa12/repos","events_url":"https://api.github.com/users/djvoa12/events{/privacy}","received_events_url":"https://api.github.com/users/djvoa12/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ilios/frontend/pulls/964/commits","review_comments_url":"https://api.github.com/repos/ilios/frontend/pulls/964/comments","review_comment_url":"https://api.github.com/repos/ilios/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ilios/frontend/issues/964/comments","statuses_url":"https://api.github.com/repos/ilios/frontend/statuses/b91cc5e66c4ba39643da22c88c9690d736f5851f","head":{"label":"djvoa12:program-year-fix","ref":"program-year-fix","sha":"b91cc5e66c4ba39643da22c88c9690d736f5851f","user":{"login":"djvoa12","id":7553764,"avatar_url":"https://avatars.githubusercontent.com/u/7553764?v=3","gravatar_id":"","url":"https://api.github.com/users/djvoa12","html_url":"https://github.com/djvoa12","followers_url":"https://api.github.com/users/djvoa12/followers","following_url":"https://api.github.com/users/djvoa12/following{/other_user}","gists_url":"https://api.github.com/users/djvoa12/gists{/gist_id}","starred_url":"https://api.github.com/users/djvoa12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djvoa12/subscriptions","organizations_url":"https://api.github.com/users/djvoa12/orgs","repos_url":"https://api.github.com/users/djvoa12/repos","events_url":"https://api.github.com/users/djvoa12/events{/privacy}","received_events_url":"https://api.github.com/users/djvoa12/received_events","type":"User","site_admin":false},"repo":{"id":42668770,"name":"frontend","full_name":"djvoa12/frontend","owner":{"login":"djvoa12","id":7553764,"avatar_url":"https://avatars.githubusercontent.com/u/7553764?v=3","gravatar_id":"","url":"https://api.github.com/users/djvoa12","html_url":"https://github.com/djvoa12","followers_url":"https://api.github.com/users/djvoa12/followers","following_url":"https://api.github.com/users/djvoa12/following{/other_user}","gists_url":"https://api.github.com/users/djvoa12/gists{/gist_id}","starred_url":"https://api.github.com/users/djvoa12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djvoa12/subscriptions","organizations_url":"https://api.github.com/users/djvoa12/orgs","repos_url":"https://api.github.com/users/djvoa12/repos","events_url":"https://api.github.com/users/djvoa12/events{/privacy}","received_events_url":"https://api.github.com/users/djvoa12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djvoa12/frontend","description":"Ilios Frontend (in development)","fork":true,"url":"https://api.github.com/repos/djvoa12/frontend","forks_url":"https://api.github.com/repos/djvoa12/frontend/forks","keys_url":"https://api.github.com/repos/djvoa12/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djvoa12/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djvoa12/frontend/teams","hooks_url":"https://api.github.com/repos/djvoa12/frontend/hooks","issue_events_url":"https://api.github.com/repos/djvoa12/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/djvoa12/frontend/events","assignees_url":"https://api.github.com/repos/djvoa12/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/djvoa12/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/djvoa12/frontend/tags","blobs_url":"https://api.github.com/repos/djvoa12/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djvoa12/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djvoa12/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/djvoa12/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djvoa12/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/djvoa12/frontend/languages","stargazers_url":"https://api.github.com/repos/djvoa12/frontend/stargazers","contributors_url":"https://api.github.com/repos/djvoa12/frontend/contributors","subscribers_url":"https://api.github.com/repos/djvoa12/frontend/subscribers","subscription_url":"https://api.github.com/repos/djvoa12/frontend/subscription","commits_url":"https://api.github.com/repos/djvoa12/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/djvoa12/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/djvoa12/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/djvoa12/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/djvoa12/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/djvoa12/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djvoa12/frontend/merges","archive_url":"https://api.github.com/repos/djvoa12/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djvoa12/frontend/downloads","issues_url":"https://api.github.com/repos/djvoa12/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/djvoa12/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/djvoa12/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/djvoa12/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djvoa12/frontend/labels{/name}","releases_url":"https://api.github.com/repos/djvoa12/frontend/releases{/id}","created_at":"2015-09-17T16:48:32Z","updated_at":"2015-09-17T16:48:34Z","pushed_at":"2015-11-05T21:19:24Z","git_url":"git://github.com/djvoa12/frontend.git","ssh_url":"git@github.com:djvoa12/frontend.git","clone_url":"https://github.com/djvoa12/frontend.git","svn_url":"https://github.com/djvoa12/frontend","homepage":null,"size":9631,"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":"ilios:master","ref":"master","sha":"75ff8e0dca05356c57b3d225e7804dcccbaaeaa2","user":{"login":"ilios","id":2955721,"avatar_url":"https://avatars.githubusercontent.com/u/2955721?v=3","gravatar_id":"","url":"https://api.github.com/users/ilios","html_url":"https://github.com/ilios","followers_url":"https://api.github.com/users/ilios/followers","following_url":"https://api.github.com/users/ilios/following{/other_user}","gists_url":"https://api.github.com/users/ilios/gists{/gist_id}","starred_url":"https://api.github.com/users/ilios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilios/subscriptions","organizations_url":"https://api.github.com/users/ilios/orgs","repos_url":"https://api.github.com/users/ilios/repos","events_url":"https://api.github.com/users/ilios/events{/privacy}","received_events_url":"https://api.github.com/users/ilios/received_events","type":"Organization","site_admin":false},"repo":{"id":23928410,"name":"frontend","full_name":"ilios/frontend","owner":{"login":"ilios","id":2955721,"avatar_url":"https://avatars.githubusercontent.com/u/2955721?v=3","gravatar_id":"","url":"https://api.github.com/users/ilios","html_url":"https://github.com/ilios","followers_url":"https://api.github.com/users/ilios/followers","following_url":"https://api.github.com/users/ilios/following{/other_user}","gists_url":"https://api.github.com/users/ilios/gists{/gist_id}","starred_url":"https://api.github.com/users/ilios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilios/subscriptions","organizations_url":"https://api.github.com/users/ilios/orgs","repos_url":"https://api.github.com/users/ilios/repos","events_url":"https://api.github.com/users/ilios/events{/privacy}","received_events_url":"https://api.github.com/users/ilios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ilios/frontend","description":"Ilios Frontend (in development)","fork":false,"url":"https://api.github.com/repos/ilios/frontend","forks_url":"https://api.github.com/repos/ilios/frontend/forks","keys_url":"https://api.github.com/repos/ilios/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilios/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilios/frontend/teams","hooks_url":"https://api.github.com/repos/ilios/frontend/hooks","issue_events_url":"https://api.github.com/repos/ilios/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/ilios/frontend/events","assignees_url":"https://api.github.com/repos/ilios/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/ilios/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/ilios/frontend/tags","blobs_url":"https://api.github.com/repos/ilios/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilios/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilios/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilios/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilios/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/ilios/frontend/languages","stargazers_url":"https://api.github.com/repos/ilios/frontend/stargazers","contributors_url":"https://api.github.com/repos/ilios/frontend/contributors","subscribers_url":"https://api.github.com/repos/ilios/frontend/subscribers","subscription_url":"https://api.github.com/repos/ilios/frontend/subscription","commits_url":"https://api.github.com/repos/ilios/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilios/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilios/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilios/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilios/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/ilios/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilios/frontend/merges","archive_url":"https://api.github.com/repos/ilios/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilios/frontend/downloads","issues_url":"https://api.github.com/repos/ilios/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/ilios/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/ilios/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/ilios/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilios/frontend/labels{/name}","releases_url":"https://api.github.com/repos/ilios/frontend/releases{/id}","created_at":"2014-09-11T17:31:12Z","updated_at":"2015-07-14T23:19:44Z","pushed_at":"2015-11-05T21:20:47Z","git_url":"git://github.com/ilios/frontend.git","ssh_url":"git@github.com:ilios/frontend.git","clone_url":"https://github.com/ilios/frontend.git","svn_url":"https://github.com/ilios/frontend","homepage":null,"size":12175,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":254,"forks":10,"open_issues":254,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ilios/frontend/pulls/964"},"html":{"href":"https://github.com/ilios/frontend/pull/964"},"issue":{"href":"https://api.github.com/repos/ilios/frontend/issues/964"},"comments":{"href":"https://api.github.com/repos/ilios/frontend/issues/964/comments"},"review_comments":{"href":"https://api.github.com/repos/ilios/frontend/pulls/964/comments"},"review_comment":{"href":"https://api.github.com/repos/ilios/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ilios/frontend/pulls/964/commits"},"statuses":{"href":"https://api.github.com/repos/ilios/frontend/statuses/b91cc5e66c4ba39643da22c88c9690d736f5851f"}}}}