Skip to content

Commit

Permalink
Fixed minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oluwandabira committed Sep 8, 2017
1 parent 925f039 commit bd9af36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/extras.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{{define "footer"}}
<footer class="navbar-fixed-bottom">
<div class="container wrapper text-center">
<a class="nav-item" href="dcrdata.org">dcrdata.org</a>
<a class="nav-item" href="http://dcrdata.org">dcrdata.org</a>

This comment has been minimized.

Copy link
@chappjc

chappjc Sep 8, 2017

Member

So there's a new special page at www.dcrdata.org

<a class="nav-item" href="https://github.com/dcrdata/dcrdata" title="dcrdata on GitHub" target="_blank">GitHub</a>
<a class="nav-item" href="https://github.com/dcrdata/dcrdata#json-rest-api" title="API Endpoints" target="_blank">API</a>
<a class="nav-item" href="/api/status" title="API Status" target="_blank">Status</a>
Expand Down
2 changes: 1 addition & 1 deletion views/tx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</td>
<td>{{.Sequence}}</td>
<td>{{.Tree}}</td>
<td>{{if eq .AmountIn -1e-8}} N/A {{else}} {{.AmountIn}} {{end}}</td>
<td>{{if lt .AmountIn 0.0}} N/A {{else}} {{.AmountIn}} {{end}}</td>
</tr>
{{end}}
</tbody>
Expand Down
1 change: 1 addition & 0 deletions web.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func (td *WebUI) ErrorPage(w http.ResponseWriter, r *http.Request) {
msg,
})
if err != nil {
log.Errorf("Failed to execute template: %v", err)
http.Error(w, "template execute failure", http.StatusInternalServerError)
return
}
Expand Down

0 comments on commit bd9af36

Please sign in to comment.