mirror of
https://github.com/nasa/openmct.git
synced 2025-01-20 03:36:44 +00:00
[Templates] Add stubs for link indicator
Update templates to use the location capability to show an indicator.
This commit is contained in:
parent
9ea1d24121
commit
449db4f3a9
@ -196,7 +196,7 @@
|
||||
{
|
||||
"key": "label",
|
||||
"templateUrl": "templates/label.html",
|
||||
"uses": [ "type" ],
|
||||
"uses": [ "type", "location" ],
|
||||
"gestures": [ "drag", "menu", "info" ]
|
||||
},
|
||||
{
|
||||
|
@ -24,5 +24,10 @@
|
||||
{{type.getGlyph()}}
|
||||
<span class='ui-symbol icon alert hidden'>!</span>
|
||||
</span>
|
||||
<span class='title-label'>{{model.name}}</span>
|
||||
<span class='title-label'>
|
||||
{{model.name}}
|
||||
<span>{{model.location}}</span>
|
||||
<span>{{location.getLocation()}}</span>
|
||||
<span ng-show="{{location.isLink}}">(link)</span>
|
||||
</span>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user