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

Commit 15c6862

Browse files
authored
Merge pull request #675 from OpenBazaar/cleanUpEmojis
Clean up emojis
2 parents e8fd9ae + 9220b08 commit 15c6862

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

js/templates/modals/moderatorDetails.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<div class="contentBox mDetailBox padMd clrP clrBr clrSh3 tx5">
55
<div class="flex gutterH row">
66
<div>
7-
<a class="userIcon disc clrBr2 clrSh1" style="<%= ob.getAvatarBgImage(ob.avatarHashes) %>"></a>
7+
<a class="userIcon disc clrBr2 clrSh1"
8+
style="<%= ob.getAvatarBgImage(ob.avatarHashes) %>"
9+
href="#<%= ob.peerID %>"></a>
810
</div>
911
<div>
1012
<div class="flex snipKids gutterHSm rowSm">
@@ -31,14 +33,14 @@
3133
<div class="contentBox mDetailBox flexRow flexVCent gutterH padMd clrP clrBr clrSh3">
3234
<div class="flexExpand">
3335
<div class="flexCol flexCent">
34-
<div>📍 <%= ob.location || ob.polyT('userPage.noLocation') %></div>
36+
<div><%= ob.parseEmojis('📍') %> <%= ob.location || ob.polyT('userPage.noLocation') %></div>
3537
<div class="tx5b clrT2"><%= ob.polyT('moderatorDetails.location') %></div>
3638
</div>
3739
</div>
38-
<div class="rowDivV clrBr"></div>
39-
<div class="flexExpand">
40+
<div class="rowDivV clrBr TODO"></div>
41+
<div class="flexExpand TODO">
4042
<div class="flexCol flexCent">
41-
👍 XX<% // placeholder for reputation %>
43+
<%= ob.parseEmojis('👍') %> XX<% // placeholder for reputation %>
4244
<div class="tx5b clrT2"><%= ob.polyT('moderatorDetails.recommendations') %></div>
4345
</div>
4446
</div>

js/templates/userCard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</div>
5151
<div class="flex gutterH contentBottom">
5252
<div class="flexExpand">
53-
<span class="clrT2 clamp tx5b">📍 <%= ob.location || ob.polyT('userPage.noLocation') %></span>
53+
<span class="clrT2 clamp tx5b"><%= ob.parseEmojis('📍') %> <%= ob.location || ob.polyT('userPage.noLocation') %></span>
5454
</div>
5555
<div class="tx6">
5656
<% print(`${ob.formatRating(ob.stats.averageRating, ob.stats.ratingCount)}`) %>

0 commit comments

Comments
 (0)