diff --git a/templates/web/html/page/announcement.html b/templates/web/html/page/announcement.html
index 9b20743..32e23ee 100644
--- a/templates/web/html/page/announcement.html
+++ b/templates/web/html/page/announcement.html
@@ -40,6 +40,7 @@
{% match &self.announcement_type { AnnouncementType::TransparentTxInfo(tx_info) => { %}
Transparent Transaction Info
+ {% if !tx_info.inputs.is_empty() { %}
| inputs |
@@ -75,6 +76,8 @@
{% } %}
+ {% } %}
+ {% if !tx_info.outputs.is_empty() { %}
| outputs |
@@ -109,6 +112,7 @@
{% } %}
+ {% } %}
{% }, AnnouncementType::Unknown(payload) => { %}