webapi: Update netParams name in template.
netParams was renamed to Network in a prior commit, but this instance was not updated.
This commit is contained in:
parent
74729c6cc9
commit
b8cc99e4b6
@ -18,9 +18,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if not (eq .WebApiCfg.NetParams.Name "mainnet") }}
|
{{ if not (eq .WebApiCfg.Network.Name "mainnet") }}
|
||||||
<div class="alert alert-warning mb-3">
|
<div class="alert alert-warning mb-3">
|
||||||
This Voting Service Provider is running on {{ .WebApiCfg.NetParams.Name }}.
|
This Voting Service Provider is running on {{ .WebApiCfg.Network.Name }}.
|
||||||
Visit <a href="https://decred.org/vsp/" class="alert-link" target="_blank" rel="noopener noreferrer">decred.org</a> to find a list of mainnet VSPs.
|
Visit <a href="https://decred.org/vsp/" class="alert-link" target="_blank" rel="noopener noreferrer">decred.org</a> to find a list of mainnet VSPs.
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user