fix missing start/end tags on templates
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
71689792e6
commit
6936137b3c
|
@ -23,7 +23,7 @@ type BlocksPage struct {
|
|||
{% if p.Miner == nil %}
|
||||
<div style="text-align: center; font-weight: bold;">
|
||||
{% if p.Refresh > 0 %}
|
||||
<a href="/blocks">Autorefresh is ON ({%d p.Refresh %}} s)</a>
|
||||
<a href="/blocks">Autorefresh is ON ({%d p.Refresh %} s)</a>
|
||||
{% else %}
|
||||
<a href="/blocks?refresh">Autorefresh is OFF</a>
|
||||
{% endif %}
|
||||
|
|
|
@ -37,7 +37,7 @@ type MinerPage struct {
|
|||
%}
|
||||
|
||||
{% func (p *MinerPage) Title() %}
|
||||
{%= p.BasePage.Title() %} - Miner {{ p.Miner.Address.ToBase58() %}
|
||||
{%= p.BasePage.Title() %} - Miner {%s p.Miner.Address.ToBase58() %}
|
||||
{% endfunc %}
|
||||
|
||||
{% func (p *MinerPage) Content() %}
|
||||
|
|
|
@ -13,7 +13,7 @@ type PayoutsPage struct {
|
|||
%}
|
||||
|
||||
{% func (p *PayoutsPage) Title() %}
|
||||
{%= p.BasePage.Title() %} - Historical miner payouts {{ p.Miner.ToBase58() }}
|
||||
{%= p.BasePage.Title() %} - Historical miner payouts {%s p.Miner.ToBase58() %}
|
||||
{% endfunc %}
|
||||
|
||||
{% func (p *PayoutsPage) Content() %}
|
||||
|
|
|
@ -23,7 +23,7 @@ type SweepsPage struct {
|
|||
{% if p.Miner == nil %}
|
||||
<div style="text-align: center; font-weight: bold;">
|
||||
{% if p.Refresh > 0 %}
|
||||
<a href="/sweeps">Autorefresh is ON ({%d p.Refresh %}} s)</a>
|
||||
<a href="/sweeps">Autorefresh is ON ({%d p.Refresh %} s)</a>
|
||||
{% else %}
|
||||
<a href="/sweeps?refresh">Autorefresh is OFF</a>
|
||||
{% endif %}
|
||||
|
|
|
@ -75,9 +75,9 @@ type TransactionLookupPage struct {
|
|||
<table class="center" style="max-width: calc(8em + 15em + 15em + 15em + 15em + 15em + 15em);">
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
<p><strong>Transaction Id:</strong> <a class="mono small" href="/t/{{ henc(p.TransactionId) %}">{%s hex(p.TransactionId) %}</a></p>
|
||||
<p><strong>Transaction Id:</strong> <a class="mono small" href="/t/{%s henc(p.TransactionId) %}">{%s hex(p.TransactionId) %}</a></p>
|
||||
{% code minerAddress := p.Miner.Address.ToBase58() %}
|
||||
<p><strong>Miner Payout Address:</strong> <a href="/miner/{{ minerAddress %}"><span class="mono small">{%s minerAddress %}</span></a></p>
|
||||
<p><strong>Miner Payout Address:</strong> <a href="/miner/{%s minerAddress %}"><span class="mono small">{%s minerAddress %}</span></a></p>
|
||||
<p><strong>Likely:</strong> {% if p.LikelyMiner %}Yes{% else %}Not likely{% endif %}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue