{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/40163930","id":40163930,"diff_hunk":"@@ -1,77 +1,98 @@\n-<div class=\"pane-holder\" ng-show=\"isActive\" ng-class=\"{show: isActive, 'outer-pane': mode === 'authoring'}\">\n-    <div class=\"send-to-pane\">\n-        <header>\n-            <h3 ng-show=\"mode === 'authoring'\" translate>Send to / Publish</h3>\n-            <h3 ng-show=\"mode !== 'authoring'\" translate>Fetch To</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=\"publish-pane-box\">\n-                <div sd-toggle-box data-title=\"{{ 'Destination' | translate }}\" data-open=\"true\"\n-                     ng-if=\"showSendButtonAndDestination()\">\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 track by desk._id\">\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 track by stage._id\">\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>\n-                        </li>\n-                    </ul>\n-                </div>\n-                <div sd-toggle-box data-title=\"Embargo\" data-open=\"true\" ng-if=\"showEmbargo()\">\n-                    <label class=\"publish-label\" translate>Embargo</label>\n-                    <ul class=\"publish-list\">\n-                        <li>\n-                            <div sd-datepicker ng-model=\"item.embargo_date\" ng-disabled=\"!isEmbargoEditable()\"></div>\n-                        </li>\n-                        <li>\n-                            <div sd-timepicker ng-model=\"item.embargo_time\" ng-disabled=\"!isEmbargoEditable()\"></div>\n-                        </li>\n-                    </ul>\n-                </div>\n-                <div sd-toggle-box data-title=\"Publishing\" data-open=\"true\" ng-if=\"showPublishSchedule()\">\n-                    <label class=\"publish-label\" translate>Publish Schedule</label>\n-                    <ul class=\"publish-list\">\n-                        <li>\n-                            <div sd-datepicker ng-model=\"item.publish_schedule_date\" ng-disabled=\"!_editable\"></div>\n-                        </li>\n-                        <li>\n-                            <div sd-timepicker ng-model=\"item.publish_schedule_time\" ng-disabled=\"!_editable\"></div>\n-                        </li>\n-                    </ul>\n-                </div>\n+<div class=\"slide-pane slide-pane--dark\" ng-show=\"isActive\" ng-class=\"{open: isActive, 'slide-pane--inset': mode === 'authoring'}\">\n+\n+    <div class=\"slide-pane__header\">\n+        <h3 ng-show=\"mode === 'authoring'\" translate>Send to / Publish</h3>\n+        <h3 ng-show=\"mode !== 'authoring'\" translate>Fetch To</h3>\n+        <div class=\"close\" ng-click=\"close()\"><i class=\"icon-close-small icon-white\"></i></div>\n+    </div>\n+\n+    <div class=\"slide-pane__content\">\n+        <div sd-toggle-box ng-if=\"showSendButtonAndDestination()\" data-title=\"{{ 'Destination' | translate }}\" data-open=\"true\" data-style=\"dark\">","path":"client/app/scripts/superdesk-authoring/views/send-item.html","position":66,"original_position":66,"commit_id":"e5bbfe13d3debb6a8fc1b7aeccc500323e40ab9e","original_commit_id":"e5bbfe13d3debb6a8fc1b7aeccc500323e40ab9e","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":"One time binding for the fixed title string is missing here.","created_at":"2015-09-23T01:22:26Z","updated_at":"2015-09-23T01:22:26Z","html_url":"https://github.com/superdesk/superdesk/pull/1180#discussion_r40163930","pull_request_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1180","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/40163930"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1180#discussion_r40163930"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1180"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/1180","id":45683134,"html_url":"https://github.com/superdesk/superdesk/pull/1180","diff_url":"https://github.com/superdesk/superdesk/pull/1180.diff","patch_url":"https://github.com/superdesk/superdesk/pull/1180.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk/issues/1180","number":1180,"state":"open","locked":false,"title":"feat(fetch as): Added fetch and open function on monitoring and code refactoring on send to pane","user":{"login":"pavlovicnemanja92","id":6507688,"avatar_url":"https://avatars.githubusercontent.com/u/6507688?v=3","gravatar_id":"","url":"https://api.github.com/users/pavlovicnemanja92","html_url":"https://github.com/pavlovicnemanja92","followers_url":"https://api.github.com/users/pavlovicnemanja92/followers","following_url":"https://api.github.com/users/pavlovicnemanja92/following{/other_user}","gists_url":"https://api.github.com/users/pavlovicnemanja92/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlovicnemanja92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlovicnemanja92/subscriptions","organizations_url":"https://api.github.com/users/pavlovicnemanja92/orgs","repos_url":"https://api.github.com/users/pavlovicnemanja92/repos","events_url":"https://api.github.com/users/pavlovicnemanja92/events{/privacy}","received_events_url":"https://api.github.com/users/pavlovicnemanja92/received_events","type":"User","site_admin":false},"body":"SD-3230\r\n\r\nHTML and CSS Refactoring was done by [BEM](https://css-tricks.com/bem-101/) convention.","created_at":"2015-09-22T16:06:37Z","updated_at":"2015-09-23T01:22:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81f9864fe4afa6481edd8fd9530d1e80776644c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1180/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk/pulls/1180/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk/issues/1180/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/e5bbfe13d3debb6a8fc1b7aeccc500323e40ab9e","head":{"label":"pavlovicnemanja92:fetchAsOpen","ref":"fetchAsOpen","sha":"e5bbfe13d3debb6a8fc1b7aeccc500323e40ab9e","user":{"login":"pavlovicnemanja92","id":6507688,"avatar_url":"https://avatars.githubusercontent.com/u/6507688?v=3","gravatar_id":"","url":"https://api.github.com/users/pavlovicnemanja92","html_url":"https://github.com/pavlovicnemanja92","followers_url":"https://api.github.com/users/pavlovicnemanja92/followers","following_url":"https://api.github.com/users/pavlovicnemanja92/following{/other_user}","gists_url":"https://api.github.com/users/pavlovicnemanja92/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlovicnemanja92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlovicnemanja92/subscriptions","organizations_url":"https://api.github.com/users/pavlovicnemanja92/orgs","repos_url":"https://api.github.com/users/pavlovicnemanja92/repos","events_url":"https://api.github.com/users/pavlovicnemanja92/events{/privacy}","received_events_url":"https://api.github.com/users/pavlovicnemanja92/received_events","type":"User","site_admin":false},"repo":{"id":33980379,"name":"superdesk","full_name":"pavlovicnemanja92/superdesk","owner":{"login":"pavlovicnemanja92","id":6507688,"avatar_url":"https://avatars.githubusercontent.com/u/6507688?v=3","gravatar_id":"","url":"https://api.github.com/users/pavlovicnemanja92","html_url":"https://github.com/pavlovicnemanja92","followers_url":"https://api.github.com/users/pavlovicnemanja92/followers","following_url":"https://api.github.com/users/pavlovicnemanja92/following{/other_user}","gists_url":"https://api.github.com/users/pavlovicnemanja92/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlovicnemanja92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlovicnemanja92/subscriptions","organizations_url":"https://api.github.com/users/pavlovicnemanja92/orgs","repos_url":"https://api.github.com/users/pavlovicnemanja92/repos","events_url":"https://api.github.com/users/pavlovicnemanja92/events{/privacy}","received_events_url":"https://api.github.com/users/pavlovicnemanja92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pavlovicnemanja92/superdesk","description":"The open source end-to-end news platform.","fork":true,"url":"https://api.github.com/repos/pavlovicnemanja92/superdesk","forks_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/forks","keys_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/teams","hooks_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/hooks","issue_events_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/events","assignees_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/tags","blobs_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/languages","stargazers_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/stargazers","contributors_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/contributors","subscribers_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/subscribers","subscription_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/subscription","commits_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/merges","archive_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/downloads","issues_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/pavlovicnemanja92/superdesk/releases{/id}","created_at":"2015-04-15T07:47:43Z","updated_at":"2015-09-03T12:32:19Z","pushed_at":"2015-09-22T17:28:50Z","git_url":"git://github.com/pavlovicnemanja92/superdesk.git","ssh_url":"git@github.com:pavlovicnemanja92/superdesk.git","clone_url":"https://github.com/pavlovicnemanja92/superdesk.git","svn_url":"https://github.com/pavlovicnemanja92/superdesk","homepage":"","size":57962,"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":"superdesk:master","ref":"master","sha":"201a9c485e0ab5a80bbf8bbf10a4664512c44077","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-09-18T18:06:16Z","pushed_at":"2015-09-23T00:50:34Z","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":69676,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":11,"forks":36,"open_issues":11,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1180"},"html":{"href":"https://github.com/superdesk/superdesk/pull/1180"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1180"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/1180/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1180/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/1180/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk/statuses/e5bbfe13d3debb6a8fc1b7aeccc500323e40ab9e"}}}}