Browse Source

add BX currency, add link for user's activity, tweak verbiage

Trent Larson 5 months ago
parent
commit
c7c6b7c071
  1. 2
      src/libs/util.ts
  2. 12
      src/views/AccountViewView.vue
  3. 2
      src/views/ContactsView.vue

2
src/libs/util.ts

@ -17,6 +17,7 @@ export const PRIVACY_MESSAGE =
/* eslint-disable prettier/prettier */
export const UNIT_SHORT: Record<string, string> = {
"BX": "BX",
"BTC": "BTC",
"ETH": "ETH",
"HUR": "Hours",
@ -26,6 +27,7 @@ export const UNIT_SHORT: Record<string, string> = {
/* eslint-disable prettier/prettier */
export const UNIT_LONG: Record<string, string> = {
"BX": "Buxbe",
"BTC": "Bitcoin",
"ETH": "Ethereum",
"HUR": "hours",

12
src/views/AccountViewView.vue

@ -103,9 +103,9 @@
</div>
<div class="mt-6">
<div class="flex justify-center text-center">
People {{ profileImageUrl ? "without your image" : "" }} see this:
People {{ profileImageUrl ? "without your image" : "" }} see this
<br />
(if you've let them see your activity)
(if you've let them see your activity):
</div>
<div class="flex justify-center">
<EntityIcon
@ -149,6 +149,12 @@
</button>
<span v-show="showDidCopy">Copied</span>
</div>
<div class="text-blue-500 text-sm font-bold">
<router-link :to="{ path: '/did/' + encodeURIComponent(activeDid) }">
Activity
</router-link>
</div>
</div>
<!-- Registration notice -->
@ -387,7 +393,7 @@
>
<!-- label -->
<span class="text-slate-500 text-sm font-bold">Contacts Display</span>
<span class="ml-2">Show amounts given</span>
<span class="ml-2">Show hours given & received</span>
<!-- toggle -->
<div class="relative ml-2">
<!-- input -->

2
src/views/ContactsView.vue

@ -47,7 +47,7 @@
class="text-md bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1 py-1 rounded-md"
@click="toggleShowContactAmounts()"
>
{{ showGiveNumbers ? "Hide Given Numbers" : "Show Given Numbers" }}
{{ showGiveNumbers ? "Hide Given Hours" : "Show Given Hours" }}
</button>
</div>
<div class="flex justify-between mt-1" v-if="showGiveNumbers">

Loading…
Cancel
Save