|
|
@ -170,6 +170,33 @@ |
|
|
|
</button> |
|
|
|
</dialog> |
|
|
|
|
|
|
|
<div class="flex py-2"> |
|
|
|
<button class="text-center text-md text-blue-500" @click="checkLimits()"> |
|
|
|
Check Limits |
|
|
|
</button> |
|
|
|
<!-- show spinner if loading limits --> |
|
|
|
<div v-if="loadingLimits" class="ml-2"> |
|
|
|
Checking... <fa icon="spinner" class="fa-spin"></fa> |
|
|
|
</div> |
|
|
|
<div class="ml-2"> |
|
|
|
{{ limitsMessage }} |
|
|
|
</div> |
|
|
|
<div v-if="!!limits?.nextWeekBeginDateTime" class="px-9"> |
|
|
|
<span class="font-bold">Rate Limits</span> |
|
|
|
<p> |
|
|
|
You have done {{ limits.doneClaimsThisWeek }} claims out of |
|
|
|
{{ limits.maxClaimsPerWeek }} for this week. Your claims counter |
|
|
|
resets at {{ readableTime(limits.nextWeekBeginDateTime) }} |
|
|
|
</p> |
|
|
|
<p> |
|
|
|
You have done {{ limits.doneRegistrationsThisMonth }} registrations |
|
|
|
out of {{ limits.maxRegistrationsPerMonth }} for this month. Your |
|
|
|
registrations counter resets at |
|
|
|
{{ readableTime(limits.nextMonthBeginDateTime) }} |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h3 |
|
|
|
class="text-sm uppercase font-semibold mb-3" |
|
|
|
@click="showAdvanced = !showAdvanced" |
|
|
@ -202,36 +229,6 @@ |
|
|
|
<div class="ml-2">Show amounts given with contacts</div> |
|
|
|
</label> |
|
|
|
|
|
|
|
<div class="flex py-2"> |
|
|
|
<button |
|
|
|
class="text-center text-md text-blue-500" |
|
|
|
@click="checkLimits()" |
|
|
|
> |
|
|
|
Check Limits |
|
|
|
</button> |
|
|
|
<!-- show spinner if loading limits --> |
|
|
|
<div v-if="loadingLimits" class="ml-2"> |
|
|
|
Checking... <fa icon="spinner" class="fa-spin"></fa> |
|
|
|
</div> |
|
|
|
<div class="ml-2"> |
|
|
|
{{ limitsMessage }} |
|
|
|
</div> |
|
|
|
<div v-if="!!limits?.nextWeekBeginDateTime" class="px-9"> |
|
|
|
<span class="font-bold">Rate Limits</span> |
|
|
|
<p> |
|
|
|
You have done {{ limits.doneClaimsThisWeek }} claims out of |
|
|
|
{{ limits.maxClaimsPerWeek }} for this week. Your claims counter |
|
|
|
resets at {{ readableTime(limits.nextWeekBeginDateTime) }} |
|
|
|
</p> |
|
|
|
<p> |
|
|
|
You have done {{ limits.doneRegistrationsThisMonth }} registrations |
|
|
|
out of {{ limits.maxRegistrationsPerMonth }} for this month. Your |
|
|
|
registrations counter resets at |
|
|
|
{{ readableTime(limits.nextMonthBeginDateTime) }} |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="flex py-2"> |
|
|
|
<router-link |
|
|
|
:to="{ name: 'identity-switcher' }" |
|
|
|