From 7ddc158c5b7cebddcef2394884169a1fecafcf99 Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Wed, 11 Oct 2017 20:02:26 +0200
Subject: [PATCH] [fix] Page: fix lookup i18n label for type

---
 www/plugins/es/templates/registry/lookup_item.html    | 2 +-
 www/plugins/es/templates/registry/lookup_options.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/plugins/es/templates/registry/lookup_item.html b/www/plugins/es/templates/registry/lookup_item.html
index c0044b566..bf34a2539 100644
--- a/www/plugins/es/templates/registry/lookup_item.html
+++ b/www/plugins/es/templates/registry/lookup_item.html
@@ -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">
diff --git a/www/plugins/es/templates/registry/lookup_options.html b/www/plugins/es/templates/registry/lookup_options.html
index f6d23948a..47cf25d04 100644
--- a/www/plugins/es/templates/registry/lookup_options.html
+++ b/www/plugins/es/templates/registry/lookup_options.html
@@ -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>
 
-- 
GitLab