Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit c1be57e

Browse files
committed
changes
1 parent 4531cb2 commit c1be57e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

css/obBase.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4413,7 +4413,7 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
44134413
transform: rotate(45deg);
44144414
}
44154415

4416-
.listingTypeDIGITAL:before {
4416+
.listingTypeDIGITAL_GOOD:before {
44174417
color: #EFEF4C;
44184418
content: "\f137";
44194419
font-family: Ionicons;

js/templates/itemShort.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,15 @@
8484

8585
<% if(ob.contract_type){ %><!-- type is not yet implemented -->
8686
<div class="listingType borderRadius3 js-item textOpacity90">
87-
<span class="<% print('listingType'+ob.contract_type) %>"></span>
87+
<span class="<% print('listingType'+ob.contract_type) %>">
88+
<% if(ob.contract_type == "PHYSICAL_GOOD"){ %>
89+
<%= polyglot.t('Physical') %>
90+
<% }else if(ob.contract_type == "DIGITAL_GOOD"){ %>
91+
<%= polyglot.t('Digital') %>
92+
<% }else{ %>
93+
<%= polyglot.t('Service') %>
94+
<% } %>
95+
</span>
8896
</div>
8997
<% } %>
9098

0 commit comments

Comments
 (0)