|
|
@@ -3,6 +3,8 @@ define [
|
|
|
], (App) ->
|
|
|
historyLabelController = ($scope, $element, $attrs, $filter, _) ->
|
|
|
ctrl = @
|
|
|
+ ctrl.$onInit = () ->
|
|
|
+ ctrl.showTooltip ?= true
|
|
|
return
|
|
|
|
|
|
App.component "historyLabel", {
|
|
|
@@ -12,6 +14,7 @@ define [
|
|
|
labelCreationDateTime: "<"
|
|
|
isOwnedByCurrentUser: "<"
|
|
|
onLabelDelete: "&"
|
|
|
+ showTooltip: "<?"
|
|
|
controller: historyLabelController
|
|
|
templateUrl: "historyLabelTpl"
|
|
|
}
|