Преглед на файлове

Add history label component.

Paulo Reis преди 8 години
родител
ревизия
8c50e4e9ae
променени са 1 файла, в които са добавени 17 реда и са изтрити 0 реда
  1. 17 0
      services/web/public/coffee/ide/history/components/historyLabel.coffee

+ 17 - 0
services/web/public/coffee/ide/history/components/historyLabel.coffee

@@ -0,0 +1,17 @@
+define [
+	"base"
+], (App) ->
+	historyLabelController = ($scope, $element, $attrs, $filter, _) ->
+		ctrl = @
+		return
+
+	App.component "historyLabel", {
+		bindings:
+			labelText: "<"
+			labelOwnerName: "<"
+			labelCreationDateTime: "<"
+			isOwnedByCurrentUser: "<"
+			onLabelDelete: "&"
+		controller: historyLabelController
+		templateUrl: "historyLabelTpl"
+	}