Skip to content

Commit 3a36d7f

Browse files
buck54321chappjc
authored andcommitted
explorer: home: add more chart links to homepage data titles
1 parent c469227 commit 3a36d7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

views/home.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
</div>
239239
</div>
240240
<div class="col-12 mb-3 mb-sm-2 mb-md-3 mb-lg-3">
241-
<div class="fs13 text-secondary">Ticket Pool Size</div>
241+
<div class="d-block fs13 text-secondary"><a href="/charts?chart=ticket-pool-size">Ticket Pool Size</a></div>
242242
<div class="mono lh1rem fs14-decimal fs24 pt-1 pb-1 d-flex align-items-baseline">
243243
<span data-target="homepage.poolSize">
244244
{{intComma .PoolInfo.Size}}
@@ -285,7 +285,7 @@
285285
<div class="fs12 lh1rem text-black-50" title="Annual Stake Rewards">{{printf "%.2f" .ASR}}% per year</div>
286286
</div>
287287
<div class="col-12 mb-3 mb-sm-2 mb-md-3 mb-lg-3">
288-
<div class="fs13 text-secondary">Total Staked DCR</div>
288+
<div class="fs13 text-secondary"><a href="/charts?chart=stake-participation">Total Staked DCR</a></div>
289289
<div class="mono lh1rem fs14-decimal fs24 pt-1 pb-1 d-flex align-items-baseline">
290290
<span data-target="homepage.poolValue">
291291
{{template "decimalParts" (float64AsDecimalParts .PoolInfo.Value 0 true)}}
@@ -315,7 +315,7 @@
315315
</div>
316316
</div>
317317
<div class="col-12 mb-3 mb-sm-2 mb-md-3 mb-lg-3">
318-
<div class="fs13 text-secondary">Hashrate</div>
318+
<div class="fs13 text-secondary"><a href="/charts?chart=hashrate">Hashrate</a></div>
319319
<div class="mono lh1rem pt-1 pb-1 fs14-decimal fs24 d-flex align-items-baseline">
320320
<span data-target="homepage.hashrate">{{template "decimalParts" (float64AsDecimalParts .HashRate 8 true 2)}}</span>
321321
<span class="pl-1 unit lh15rem">Ph/s</span>
@@ -388,7 +388,7 @@
388388
</div>
389389
{{end}}
390390
<div class="col-12 mb-3 mb-sm-2 mb-md-3 mb-lg-3">
391-
<div class="fs13 text-secondary lh1rem">Total Coin Supply <span class="nowrap">(of 21 mil)</span></div>
391+
<div class="d-block fs13 text-secondary lh1rem"><a href="/charts?chart=coin-supply">Total Coin Supply</a> <span class="nowrap">(of 21 mil)</span></div>
392392
<div class="mono lh1rem fs14-decimal fs24 p03rem0 d-flex align-items-baseline">
393393
<span data-target="homepage.coinSupply">
394394
{{template "decimalParts" (float64AsDecimalParts (toFloat64Amount .CoinSupply) 0 true)}}

0 commit comments

Comments
 (0)