Procházet zdrojové kódy

Add history label component.

Paulo Reis před 8 roky
rodič
revize
8c50e4e9ae

+ 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"
+	}