Skip to content
Snippets Groups Projects
Commit 7ddc158c authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Page: fix lookup i18n label for type

parent c5a6892a
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
<div class="col col-20 hidden-xs">
<h3 class="gray">
<ng-if ng-if="item.category">{{::item.category.name}}</ng-if>
<!--ng-if ng-if="!item.category">{{'REGISTRY.TYPE.ENUM.'+item.type|translate}}</ng-if-->
<ng-if ng-if="!item.category">{{'REGISTRY.TYPE.ENUM.'+item.type|uppercase|translate}}</ng-if>
</h3>
</div>
<div class="col">
......
......@@ -11,7 +11,7 @@
<div class="item item-icon-right" ng-if="search.options" ng-click="showRecordTypeModal()">
<span translate>REGISTRY.SEARCH.TYPE</span>
<span class="badge badge-balanced" ng-if="search.type">{{'REGISTRY.TYPE.ENUM.' + search.type|translate}}</span>
<span class="badge badge-balanced" ng-if="search.type">{{'REGISTRY.TYPE.ENUM.'+search.type|uppercase|translate}}</span>
<i class="gray icon ion-ios-arrow-right"></i>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment