DescriptionOnly show tree status if the tree isn't open.
In the spirit of sheriff-o-matic only showing problems that
need solving, there's no point in showing tree open status.
We might want to reconsider this in the future where we
show you the actual status message, but right now the open
state is hard-coded to say "Tree is open", which is not
information I need to see.
Also, cleaned up a couple minor polymer things:
-No need to set the attributes attribute if we're using publish.
-Initialize all the member variables on ct-tree-status.
-Don't use setAttribute. Should basically always set element
values by property.
NOTRY=true
R=abarth@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178524
Patch Set 1 #
Total comments: 4
Patch Set 2 : move if-statement #
Messages
Total messages: 7 (0 generated)
|