Since the title links added by the previous patch intentionally open
the record in a new tab, display the corresponding icon to be
consistent with other interfaces.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<eg-grid-field label="[% l('Title') %]" path="title">
<a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
- {{item.title}}
+ {{item.title}} <span ng-show="item.id" class="glyphicon glyphicon-new-window"/>
</a>
</eg-grid-field>
</eg-grid>
<eg-grid-field label="[% l('Title') %]" path="title">
<a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
- {{item.title}}
+ {{item.title}} <span ng-show="item.id" class="glyphicon glyphicon-new-window"/>
</a>
</eg-grid-field>
</eg-grid>