[Representations] grid-item and label display links

grid-item and label representations now use the "location" capability
to determine whether or not to show a link indicator.
This commit is contained in:
Pete Richards
2015-08-06 09:49:50 -07:00
parent 19b80ded16
commit ec62c27f36
3 changed files with 11 additions and 13 deletions

View File

@@ -34,11 +34,10 @@
<div class='item-main abs'>
<div class='ui-symbol icon lg item-type'>
{{type.getGlyph()}}
<!-- this will be toggled by a ng-show -->
<span
class='ui-symbol icon l-icon-link' title="This object is a link"
ng-show = "true"
></span>
class="ui-symbol icon l-icon-link" title="This object is a link"
ng-show="location.isLink()"
></span>
</div>
<div class='ui-symbol icon abs item-open'>}</div>
</div>
@@ -51,4 +50,4 @@
</div>
</div>
</div>
</div>
</div>