{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/38808842","id":38808842,"diff_hunk":"@@ -1,67 +1,63 @@\n-<div class=\"pane-holder\" ng-class=\"{show: isActive}\">\n+<div class=\"pane-holder outer-pane\" ng-class=\"{show: isActive}\">    \n     <div class=\"send-to-pane\">\n         <header>\n-            <h3 translate ng-show=\"mode !== 'archive'\">Send</h3>\n+            <h3 translate ng-show=\"mode !== 'archive'\">Send to / Publish</h3>\n             <h3 translate ng-show=\"mode === 'archive'\">Duplicate</h3>\n             <div class=\"close\" ng-click=\"close()\"><i class=\"icon-close-small icon-white\"></i></div>\n         </header>\n         <div class=\"content\">\n-            <div class=\"dropdown desk-select\" dropdown>\n-                <button class=\"dropdown-toggle\" dropdown-toggle>\n-                    <span ng-show=\"!selectedDesk\" translate>Select desk</span>\n-                    <span ng-show=\"selectedDesk\">{{selectedDesk.name}}</span>\n-                    <b class=\"caret white\"></b>\n-                </button>\n-                <div class=\"dropdown-menu\">\n-                    <ul>\n-                        <li ng-repeat=\"desk in desks._items\">\n-                            <button ng-click=\"selectDesk(desk)\">{{desk.name}}</button>\n-                        </li>\n-                    </ul>\n+            <div sd-toggle-box data-title=\"{{ 'Destination' | translate }}\" data-open=\"true\">\n+                <div class=\"dropdown desk-select\" dropdown>\n+                    <button class=\"dropdown-toggle\" dropdown-toggle>\n+                        <span ng-show=\"!selectedDesk\" translate>Select desk</span>\n+                        <span ng-show=\"selectedDesk\">{{selectedDesk.name}}</span>\n+                        <b class=\"caret white\"></b>\n+                    </button>\n+                    <div class=\"dropdown-menu\">\n+                        <ul>\n+                            <li ng-repeat=\"desk in desks._items\">\n+                                <button ng-click=\"selectDesk(desk)\">{{desk.name}}</button>\n+                            </li>\n+                        </ul>\n+                    </div>\n                 </div>\n+                <ul class=\"btn-list\" ng-if=\"stages\">\n+                    <li ng-repeat=\"stage in stages\">\n+                        <button\n+                            ng-class=\"{active: stage._id === selectedStage._id}\"\n+                            ng-disabled=\"stage._id === item.task.stage\"\n+                            ng-click=\"selectStage(stage)\">{{stage.name}}</button>","path":"client/app/scripts/superdesk-authoring/views/send-item.html","position":43,"original_position":43,"commit_id":"fb75bf3172ea367e8eb3483220a808018b485ab7","original_commit_id":"fb75bf3172ea367e8eb3483220a808018b485ab7","user":{"login":"plamut","id":1235663,"avatar_url":"https://avatars.githubusercontent.com/u/1235663?v=3","gravatar_id":"","url":"https://api.github.com/users/plamut","html_url":"https://github.com/plamut","followers_url":"https://api.github.com/users/plamut/followers","following_url":"https://api.github.com/users/plamut/following{/other_user}","gists_url":"https://api.github.com/users/plamut/gists{/gist_id}","starred_url":"https://api.github.com/users/plamut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plamut/subscriptions","organizations_url":"https://api.github.com/users/plamut/orgs","repos_url":"https://api.github.com/users/plamut/repos","events_url":"https://api.github.com/users/plamut/events{/privacy}","received_events_url":"https://api.github.com/users/plamut/received_events","type":"User","site_admin":false},"body":"Probably one-time binding here, since the name will not change?","created_at":"2015-09-05T08:11:00Z","updated_at":"2015-09-05T08:11:00Z","html_url":"https://github.com/superdesk/superdesk/pull/1075#discussion_r38808842","pull_request_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1075","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/38808842"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1075#discussion_r38808842"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1075"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/1075","id":44234297,"html_url":"https://github.com/superdesk/superdesk/pull/1075","diff_url":"https://github.com/superdesk/superdesk/pull/1075.diff","patch_url":"https://github.com/superdesk/superdesk/pull/1075.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk/issues/1075","number":1075,"state":"open","locked":false,"title":"Fix (publish pane fixed)","user":{"login":"Aca-jov","id":12080754,"avatar_url":"https://avatars.githubusercontent.com/u/12080754?v=3","gravatar_id":"","url":"https://api.github.com/users/Aca-jov","html_url":"https://github.com/Aca-jov","followers_url":"https://api.github.com/users/Aca-jov/followers","following_url":"https://api.github.com/users/Aca-jov/following{/other_user}","gists_url":"https://api.github.com/users/Aca-jov/gists{/gist_id}","starred_url":"https://api.github.com/users/Aca-jov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aca-jov/subscriptions","organizations_url":"https://api.github.com/users/Aca-jov/orgs","repos_url":"https://api.github.com/users/Aca-jov/repos","events_url":"https://api.github.com/users/Aca-jov/events{/privacy}","received_events_url":"https://api.github.com/users/Aca-jov/received_events","type":"User","site_admin":false},"body":"SD-2717","created_at":"2015-09-04T16:03:09Z","updated_at":"2015-09-05T08:11:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afd52ca353eefd927a5291b1fc0b6a14b087128b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1075/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1075/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk/issues/1075/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/fb75bf3172ea367e8eb3483220a808018b485ab7","head":{"label":"Aca-jov:publishPane","ref":"publishPane","sha":"fb75bf3172ea367e8eb3483220a808018b485ab7","user":{"login":"Aca-jov","id":12080754,"avatar_url":"https://avatars.githubusercontent.com/u/12080754?v=3","gravatar_id":"","url":"https://api.github.com/users/Aca-jov","html_url":"https://github.com/Aca-jov","followers_url":"https://api.github.com/users/Aca-jov/followers","following_url":"https://api.github.com/users/Aca-jov/following{/other_user}","gists_url":"https://api.github.com/users/Aca-jov/gists{/gist_id}","starred_url":"https://api.github.com/users/Aca-jov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aca-jov/subscriptions","organizations_url":"https://api.github.com/users/Aca-jov/orgs","repos_url":"https://api.github.com/users/Aca-jov/repos","events_url":"https://api.github.com/users/Aca-jov/events{/privacy}","received_events_url":"https://api.github.com/users/Aca-jov/received_events","type":"User","site_admin":false},"repo":{"id":35039424,"name":"superdesk","full_name":"Aca-jov/superdesk","owner":{"login":"Aca-jov","id":12080754,"avatar_url":"https://avatars.githubusercontent.com/u/12080754?v=3","gravatar_id":"","url":"https://api.github.com/users/Aca-jov","html_url":"https://github.com/Aca-jov","followers_url":"https://api.github.com/users/Aca-jov/followers","following_url":"https://api.github.com/users/Aca-jov/following{/other_user}","gists_url":"https://api.github.com/users/Aca-jov/gists{/gist_id}","starred_url":"https://api.github.com/users/Aca-jov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aca-jov/subscriptions","organizations_url":"https://api.github.com/users/Aca-jov/orgs","repos_url":"https://api.github.com/users/Aca-jov/repos","events_url":"https://api.github.com/users/Aca-jov/events{/privacy}","received_events_url":"https://api.github.com/users/Aca-jov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Aca-jov/superdesk","description":"The open source end-to-end news platform.","fork":true,"url":"https://api.github.com/repos/Aca-jov/superdesk","forks_url":"https://api.github.com/repos/Aca-jov/superdesk/forks","keys_url":"https://api.github.com/repos/Aca-jov/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aca-jov/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aca-jov/superdesk/teams","hooks_url":"https://api.github.com/repos/Aca-jov/superdesk/hooks","issue_events_url":"https://api.github.com/repos/Aca-jov/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/Aca-jov/superdesk/events","assignees_url":"https://api.github.com/repos/Aca-jov/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/Aca-jov/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/Aca-jov/superdesk/tags","blobs_url":"https://api.github.com/repos/Aca-jov/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aca-jov/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aca-jov/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aca-jov/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aca-jov/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/Aca-jov/superdesk/languages","stargazers_url":"https://api.github.com/repos/Aca-jov/superdesk/stargazers","contributors_url":"https://api.github.com/repos/Aca-jov/superdesk/contributors","subscribers_url":"https://api.github.com/repos/Aca-jov/superdesk/subscribers","subscription_url":"https://api.github.com/repos/Aca-jov/superdesk/subscription","commits_url":"https://api.github.com/repos/Aca-jov/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aca-jov/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aca-jov/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aca-jov/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aca-jov/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/Aca-jov/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aca-jov/superdesk/merges","archive_url":"https://api.github.com/repos/Aca-jov/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aca-jov/superdesk/downloads","issues_url":"https://api.github.com/repos/Aca-jov/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/Aca-jov/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/Aca-jov/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/Aca-jov/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aca-jov/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/Aca-jov/superdesk/releases{/id}","created_at":"2015-05-04T14:27:09Z","updated_at":"2015-08-06T07:58:00Z","pushed_at":"2015-09-04T16:02:30Z","git_url":"git://github.com/Aca-jov/superdesk.git","ssh_url":"git@github.com:Aca-jov/superdesk.git","clone_url":"https://github.com/Aca-jov/superdesk.git","svn_url":"https://github.com/Aca-jov/superdesk","homepage":"","size":57031,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"superdesk:master","ref":"master","sha":"e586b8c9f052bdb46d0fbc6f491c1e2dde692e51","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":23570030,"name":"superdesk","full_name":"superdesk/superdesk","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk","description":"The open source end-to-end news platform.","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk","forks_url":"https://api.github.com/repos/superdesk/superdesk/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk/releases{/id}","created_at":"2014-09-02T07:56:17Z","updated_at":"2015-08-31T10:26:14Z","pushed_at":"2015-09-04T16:03:10Z","git_url":"git://github.com/superdesk/superdesk.git","ssh_url":"git@github.com:superdesk/superdesk.git","clone_url":"https://github.com/superdesk/superdesk.git","svn_url":"https://github.com/superdesk/superdesk","homepage":"","size":68543,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":11,"forks":34,"open_issues":11,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1075"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1075"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1075"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1075/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1075/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1075/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk/statuses/fb75bf3172ea367e8eb3483220a808018b485ab7"}}}}