Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit e8fd9ae

Browse files
authored
Merge pull request #665 from OpenBazaar/fixStyleFixes
Fix style fixes
2 parents d15bbd5 + c1c1560 commit e8fd9ae

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

js/languages/en-US.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -815,8 +815,8 @@
815815
"helperNSFW": "Mark yes if the listing is NSFW",
816816
"helperTags": "Add many tags. Enter a tag name, press enter, repeat.",
817817
"helperCategories": "Category nesting is not supported (e.g. Shoes > Boots doesn't currently work). Enter a category name, press enter, repeat.",
818-
"helperReturnPolicy": "If left blank, the listing will disply \"No return policy entered\"",
819-
"helperTerms": "If left blank, the listing will disply \"No terms and conditions entered\"",
818+
"helperReturnPolicy": "If left blank, the listing will display \"No return policy entered\"",
819+
"helperTerms": "If left blank, the listing will display \"No terms and conditions entered\"",
820820
"createListingLabel": "Create Listing",
821821
"editListingLabel": "Edit Listing",
822822
"title": "Title",
@@ -861,7 +861,7 @@
861861
},
862862
"toolTip": {
863863
"delete": "Delete"
864-
}
864+
}
865865
},
866866
"coupons": {
867867
"titleLabel": "Title",
@@ -874,7 +874,7 @@
874874
"btnAddCoupon": "+ Add Coupon",
875875
"toolTip": {
876876
"delete": "Delete"
877-
}
877+
}
878878
},
879879
"variants": {
880880
"btnAddVariant": "Add Variant",
@@ -886,7 +886,7 @@
886886
"choicesPlaceholder": "e.g. Small, Medium, Large, etc",
887887
"toolTip": {
888888
"delete": "Delete"
889-
}
889+
}
890890
},
891891
"inventoryManagement": {
892892
"doNotTrackSelectOption": "Do not track inventory",

js/templates/listingCard.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@
4242
</div>
4343
<% if (ob.vendor) { %>
4444
<a class="userIconWrapper js-userName">
45-
<% const vendorTip = `${ob.vendor.name}${ob.vendor.location ? ` 📍 ${ob.vendor.location}` : ''}`;
46-
const dataTip = ob.vendor.name ? `data-tip="${vendorTip}"` : '';
47-
%>
45+
<% const dataTip = ob.vendor.name ? `data-tip="${ob.vendor.name}"` : ''; %>
4846
<div class="userIcon disc clrBr2 clrSh1 toolTipNoWrap" <%= dataTip %>
4947
<% var avatarHash = ob.vendor.avatarHashes ? ob.isHiRez() ? ob.vendor.avatarHashes.small : ob.vendor.avatarHashes.tiny : ''; %>
5048
<% if (avatarHash) { %>

js/templates/miniProfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="flexVCent">
22
<div>
3-
<% const userLink = ob.peerIDx ? `href="#${ob.peerID}"` : ''; %>
3+
<% const userLink = ob.peerID ? `href="#${ob.peerID}"` : ''; %>
44
<a <%= userLink %>>
55
<div class="userIcon disc clrBr2 clrSh1" style="<%= ob.getAvatarBgImage(ob.avatarHashes || {}) %>"></div>
66
</a>

js/views/ListingCard.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ export default class extends baseVw {
167167
profile: this.options.profile,
168168
vendor: this.options.vendor,
169169
closeButtonClass: 'cornerTR iconBtn clrP clrBr clrSh3 toolTipNoWrap',
170-
innerButtonClass: 'ion-ios-close-empty',
171-
closeButtonTip: app.polyglot.t('pageNav.toolTip.close'),
172170
modelContentClass: 'modalContent',
173171
openedFromStore: !!this.options.onStore,
174172
}).render()

0 commit comments

Comments
 (0)