Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pending validator page #1157

Merged
merged 1 commit into from Dec 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions templates/validator/overview.html
Expand Up @@ -40,7 +40,7 @@
</div>
<div class="validator__lifecycle-progress validator__lifecycle-pending">
<div class="validator__lifecycle-progress-epoch">
{{if not $deposited}}<div data-toggle="tooltip" title="The activation epoch is when your validator becomes active."><a href="/epoch/{{.ActivationEpoch}}">{{if eq .ActivationEpoch 0}}genesis {{else}}{{.ActivationEpoch}}{{end}}</a></div>{{end}}
{{if not $deposited}}<div data-toggle="tooltip" title="The activation epoch is when your validator becomes active.">{{if ne .ActivationEpoch 9223372036854775807}}<a href="/epoch/{{.ActivationEpoch}}">{{if eq .ActivationEpoch 0}}genesis{{else}}{{.ActivationEpoch}}{{end}}</a>{{end}}</div>{{end}}
</div>
</div>
<div id="lifecycle-active" class="validator__lifecycle-node-container validator__lifecycle-active">
Expand Down Expand Up @@ -116,11 +116,17 @@
<div class="col">
<div class="px-2">
<div class="p-2 mx-auto" style="max-width: 50rem;">
This validator has been processed by the beacon chain and is currently waiting to be activated. It will approximately be activated on <span class="font-weight-bolder" title="{{.ActivationTs}}" data-toggle="tooltip" aria-ethereum-date="{{.ActivationTs.Unix}}">{{.ActivationTs}}</span> during epoch <span class="font-weight-bolder">{{.ActivationEpoch}}</span>. Make sure your nodes and your client is up and running <em>before</em> the countdown reaches zero.
{{if ne .ActivationEpoch 9223372036854775807}}
This validator has been processed by the beacon chain and is currently waiting to be activated. It will approximately be activated on <span class="font-weight-bolder" title="{{.ActivationTs}}" data-toggle="tooltip" aria-ethereum-date="{{.ActivationTs.Unix}}">{{.ActivationTs}}</span> during epoch <span class="font-weight-bolder">{{.ActivationEpoch}}</span>. Make sure your nodes and your client is up and running <em>before</em> the countdown reaches zero.
{{else}}
This validator has been registered by the beacon chain and is currently waiting to be voted into the activation queue. You can read more about this process in the <a href="https://kb.beaconcha.in/ethereum-2.0-depositing">Ethereum 2.0 Knowledge Base</a>.
{{end}}
</div>
{{if lt .ActivationEpoch 9223372036854775807}}
<div class="py-2" style="min-width:300px;">
{{ template "validatorCountdown" .}}
</div>
{{end}}
</div>
</div>
</div>
Expand Down