mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Add history label component.
This commit is contained in:
@@ -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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user