diff --git a/scripts/apps/authoring/authoring/directives/SendItem.js b/scripts/apps/authoring/authoring/directives/SendItem.js index e474b897f9..e69e168313 100644 --- a/scripts/apps/authoring/authoring/directives/SendItem.js +++ b/scripts/apps/authoring/authoring/directives/SendItem.js @@ -7,12 +7,12 @@ SendItem.$inject = ['$q', 'api', 'search', 'desks', 'notify', 'authoringWorkspac 'superdeskFlags', '$location', 'macros', '$rootScope', 'deployConfig', 'authoring', 'send', 'editorResolver', 'confirm', 'archiveService', 'preferencesService', 'multi', 'datetimeHelper', 'config', 'privileges', - 'storage', 'modal', 'gettext', 'urls', 'extensionPoints']; + 'storage', 'modal', 'gettext', 'urls', 'extensionPoints', 'metadata']; export function SendItem($q, api, search, desks, notify, authoringWorkspace, superdeskFlags, $location, macros, $rootScope, deployConfig, authoring, send, editorResolver, confirm, archiveService, preferencesService, multi, datetimeHelper, config, privileges, - storage, modal, gettext, urls, extensionPoints) { + storage, modal, gettext, urls, extensionPoints, metadata) { return { scope: { item: '=', @@ -64,6 +64,8 @@ export function SendItem($q, api, search, desks, notify, authoringWorkspace, scope.$watch('item', activateItem); scope.$watch(send.getConfig, activateConfig); + scope.metadata = metadata.values; + scope.publish = function() { scope.loading = true; var result = scope._publish(); diff --git a/scripts/apps/authoring/views/send-item.html b/scripts/apps/authoring/views/send-item.html index 01a00fb98a..d5202949ed 100644 --- a/scripts/apps/authoring/views/send-item.html +++ b/scripts/apps/authoring/views/send-item.html @@ -161,6 +161,37 @@
+ +
+
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+