Skip to content

Commit

Permalink
Link to block from /inscription (ordinals#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Feb 1, 2023
1 parent f7ecafc commit eb00956
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/templates/inscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ mod tests {
<dt>timestamp</dt>
<dd><time>1970-01-01 00:00:00 UTC</time></dd>
<dt>genesis height</dt>
<dd>0</dd>
<dd><a href=/block/0>0</a></dd>
<dt>genesis fee</dt>
<dd>1</dd>
<dt>genesis transaction</dt>
Expand Down
2 changes: 1 addition & 1 deletion templates/inscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>Inscription {{ self.number }}</h1>
<dt>timestamp</dt>
<dd><time>{{ self.timestamp }}</time></dd>
<dt>genesis height</dt>
<dd>{{ self.genesis_height }}</dd>
<dd><a href=/block/{{ self.genesis_height }}>{{ self.genesis_height }}</a></dd>
<dt>genesis fee</dt>
<dd>{{ self.genesis_fee }}</dd>
<dt>genesis transaction</dt>
Expand Down
2 changes: 1 addition & 1 deletion tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn inscription_page() {
<dt>timestamp</dt>
<dd><time>1970-01-01 00:00:02 UTC</time></dd>
<dt>genesis height</dt>
<dd>2</dd>
<dd><a href=/block/2>2</a></dd>
<dt>genesis fee</dt>
<dd>138</dd>
<dt>genesis transaction</dt>
Expand Down

0 comments on commit eb00956

Please sign in to comment.