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

This commit is contained in:
2024-06-21 20:33:44 -06:00
parent daf692537c
commit c7c6b7c071
3 changed files with 12 additions and 4 deletions

View File

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

View File

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

View File

@@ -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" 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()" @click="toggleShowContactAmounts()"
> >
{{ showGiveNumbers ? "Hide Given Numbers" : "Show Given Numbers" }} {{ showGiveNumbers ? "Hide Given Hours" : "Show Given Hours" }}
</button> </button>
</div> </div>
<div class="flex justify-between mt-1" v-if="showGiveNumbers"> <div class="flex justify-between mt-1" v-if="showGiveNumbers">