overleaf/services/web/public/coffee/ide/review-panel/directives/bulkActionsEntry.coffee

15 lines
337 B
CoffeeScript
Raw Normal View History

define [
"base"
], (App) ->
App.directive "bulkActionsEntry", () ->
restrict: "E"
templateUrl: "bulkActionsEntryTemplate"
scope:
onBulkAccept: "&"
onBulkReject: "&"
nEntries: "="
link: (scope, element, attrs) ->
scope.bulkAccept = () ->
scope.onBulkAccept()
scope.bulkReject = () ->
scope.onBulkReject()