diff --git a/src/subcommand/server.rs b/src/subcommand/server.rs index 70727cca0c..3af10b2352 100644 --- a/src/subcommand/server.rs +++ b/src/subcommand/server.rs @@ -4801,7 +4801,7 @@ mod tests { server.assert_response_regex( format!("/inscription/{}", InscriptionId { txid, index: 0 }), StatusCode::OK, - r".*
sat
\s*
5000000000
\s*
preview
.*", + r".*
sat
\s*
5000000000
\s*
sat name
\s*
nvtcsezkbth
\s*
preview
.*", ); } diff --git a/src/templates/inscription.rs b/src/templates/inscription.rs index 2ff9812ab2..fd43fbe412 100644 --- a/src/templates/inscription.rs +++ b/src/templates/inscription.rs @@ -94,7 +94,7 @@ mod tests { ..default() }, " -

Inscription 1

+ .*

Inscription 1

@@ -133,6 +133,8 @@ mod tests { .*
sat
1
+
sat name
+
nvtdijuwxlo
preview
.* diff --git a/templates/inscription.html b/templates/inscription.html index ecc083215f..11117e48c0 100644 --- a/templates/inscription.html +++ b/templates/inscription.html @@ -72,6 +72,8 @@

Inscription {{ self.number }}

%% if let Some(sat) = self.sat {
sat
{{sat}}
+
sat name
+
{{ sat.name() }}
%% } %% if let Some(metaprotocol) = self.inscription.metaprotocol() {
metaprotocol