-
Notifications
You must be signed in to change notification settings - Fork 128
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
Bug Fixes and Enhancements #128
Conversation
ACK I have tested this and updated the related issues. Can be merged following code review. |
views/root.tmpl
Outdated
@@ -356,7 +356,7 @@ | |||
</table> | |||
</div> | |||
<div class="col-md-6 text-left"> | |||
<div>Number of Tickets Mined in Last Block: <strong id="feeinfo_number">{{.StakeSummary.Feeinfo.Number}}</strong></div> | |||
<div>Tickets in Lastest Block: <strong id="feeinfo_number">{{.StakeSummary.Feeinfo.Number}}</strong></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be Latest, not Lastest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor changes, which can wait if we make a note.
testing now...
views/tx.tmpl
Outdated
<td>{{.Sequence}}</td> | ||
<td>{{.Tree}}</td> | ||
<td>{{.AmountIn | getAmount}}</td> | ||
<td>{{if eq .AmountIn -1e-8}} N/A {{else}} {{.AmountIn}} {{end}}</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless we understand clearly where -1e-8 is coming from (is it hard-coded somewhere?) I'd prefer if we change this to <0, but it's OK for now.
web.go
Outdated
}) | ||
if err != nil { | ||
http.Error(w, "template execute failure", http.StatusInternalServerError) | ||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to log err
The "dcrdata.org" link in the footer goes to the wrong place. I'm not sure where it should go tbh as we don't have an general organization page, and only a basic GH page for the dcrdata repository at http://www.dcrdata.org/ |
c27c544
to
6b27441
Compare
This should address issues:
#116, #117, #118, #119, #120, #122, #123, #124 and #126