{{define "content"}}
	<h3>Transaction: {{.Txn.Hash}}</h3>
	From block: <a href="block?blockHash={{index .Txn.Data "Block Hash"}}">{{index .Txn.Data "Block Number"}}</a>

	<h4>Data</h4>
	<table class="table table-bordered">
		<tr><td>Value</td><td>{{ .Txn.Value }}</td></tr>
		{{range $key, $value := .Txn.Data}}
			<tr><td>{{ $key }}</td><td>{{ $value }}</td></tr>
		{{end}}
	</table>
	<h4>Receipt</h4>
	<table class="table table-bordered">
		{{range $key, $value := .TxReceipt.Data}}
			<tr>
				<td>{{ $key }}</td>
				<td>
					{{if eq $key "Logs Bloom"}}
						{{  printf "%.64s" $value }}...
					{{else}}
						{{ $value }}
					{{end}}
				</td>
			</tr>
		{{end}}
	</table>
{{end}}
{{define "content"}}
	<h3>Transaction: {{.Txn.Hash}}</h3>
	From block: <a href="block?blockHash={{index .Txn.Data "Block Hash"}}">{{index .Txn.Data "Block Number"}}</a>

	<h4>Data</h4>
	<table class="table table-bordered">
		<tr><td>Value</td><td>{{ .Txn.Value }}</td></tr>
		{{range $key, $value := .Txn.Data}}
			<tr>
				<td>{{ $key }}</td>
				<td>
					{{ if eq $key "From" }}
						<a href="account?acc={{ $value }}">{{ $value }}</a></td>
					{{ else if eq $key "To" }}
						<a href="account?acc={{ $value }}">{{ $value }}</a></td>
					{{ else }}
						{{ $value }}
					{{ end }}
				</td>
			</tr>
		{{end}}
	</table>
	<h4>Receipt</h4>
	<table class="table table-bordered">
		{{range $key, $value := .TxReceipt.Data}}
			<tr>
				<td>{{ $key }}</td>
				<td>
					{{ if eq $key "Logs Bloom" }}
						{{  printf "%.64s" $value }}...
					{{ else if eq $key "From" }}
						<a href="account?acc={{ $value }}">{{ $value }}</a></td>
					{{ else if eq $key "To" }}
						<a href="account?acc={{ $value }}">{{ $value }}</a></td>
					{{ else }}
						{{ $value }}
					{{ end }}
				</td>
			</tr>
		{{end}}
	</table>
{{end}}
Add from/to acct links for tx and receipt.
Add from/to acct links for tx and receipt.
