[Templates] Add stubs for link indicator

Update templates to use the location capability to show an indicator.
This commit is contained in:
Pete Richards 2015-08-06 14:52:42 -07:00
parent 9ea1d24121
commit 449db4f3a9
3 changed files with 23 additions and 18 deletions

View File

@ -196,7 +196,7 @@
{
"key": "label",
"templateUrl": "templates/label.html",
"uses": [ "type" ],
"uses": [ "type", "location" ],
"gestures": [ "drag", "menu", "info" ]
},
{

View File

@ -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>