Skip to content

Commit

Permalink
Link to /block from /sat (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 16, 2023
1 parent 71a00ba commit a4ff96c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/templates/sat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod tests {
<dt>cycle</dt><dd>0</dd>
<dt>epoch</dt><dd>0</dd>
<dt>period</dt><dd>0</dd>
<dt>block</dt><dd>0</dd>
<dt>block</dt><dd><a href=/block/0>0</a></dd>
<dt>offset</dt><dd>0</dd>
<dt>rarity</dt><dd><span class=mythic>mythic</span></dd>
<dt>time</dt><dd>1970-01-01 00:00:00</dd>
Expand Down Expand Up @@ -70,7 +70,7 @@ mod tests {
<dt>cycle</dt><dd>5</dd>
<dt>epoch</dt><dd>32</dd>
<dt>period</dt><dd>3437</dd>
<dt>block</dt><dd>6929999</dd>
<dt>block</dt><dd><a href=/block/6929999>6929999</a></dd>
<dt>offset</dt><dd>0</dd>
<dt>rarity</dt><dd><span class=uncommon>uncommon</span></dd>
<dt>time</dt><dd>1970-01-01 00:00:00</dd>
Expand Down
2 changes: 1 addition & 1 deletion templates/sat.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1>Sat {{ self.sat.n() }}</h1>
<dt>cycle</dt><dd>{{ self.sat.cycle() }}</dd>
<dt>epoch</dt><dd>{{ self.sat.epoch() }}</dd>
<dt>period</dt><dd>{{ self.sat.period() }}</dd>
<dt>block</dt><dd>{{ self.sat.height() }}</dd>
<dt>block</dt><dd><a href=/block/{{self.sat.height()}}>{{ self.sat.height() }}</a></dd>
<dt>offset</dt><dd>{{ self.sat.third() }}</dd>
<dt>rarity</dt><dd><span class={{self.sat.rarity()}}>{{ self.sat.rarity() }}</span></dd>
<dt>time</dt><dd>{{ self.blocktime }}</dd>
Expand Down

0 comments on commit a4ff96c

Please sign in to comment.