Skip to content

Commit

Permalink
Merge pull request #1867 from gobitfly/NOBIDS/fix_validator_name_spacing
Browse files Browse the repository at this point in the history
(NOBIDS) fix space before validator name in validator view
  • Loading branch information
recy21 authored Feb 27, 2023
2 parents d8eaf72 + 31b3d22 commit b64b957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/validator/heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="d-flex mb-1">
<h1 class="h4 mb-1 mb-md-0 d-flex align-items-center">
<!-- using nonconventional characters for whitespaces because of linter -->
<span class="mr-2">Validator <span class="d-inline">{{ if and (ne .Status "deposited") (ne .Status "deposited_invalid") (ne .Status "deposited_valid") }}{{ .Index }}{{ end }}{{ if ne .Name "" }}({{ formatValidatorName .Name }}){{ end }}</span></span>
<span class="mr-2">Validator <span class="d-inline">{{ if and (ne .Status "deposited") (ne .Status "deposited_invalid") (ne .Status "deposited_valid") }}{{ .Index }}{{ end }}{{ if ne .Name "" }}&nbsp;({{ formatValidatorName .Name }}){{ end }}</span></span>
<span class="mx-1" data-toggle="tooltip" title="Copy public key to clipboard" data-clipboard-text="0x{{ printf "%x" .PublicKey }}">
<button class="btn btn-dark text-white btn-sm" type="button" id="copy-button">
<i class="fa fa-copy"></i>
Expand Down

0 comments on commit b64b957

Please sign in to comment.