diff --git a/ram/portal/templates/rollingstock.html b/ram/portal/templates/rollingstock.html index 2a22c7f..dbac360 100644 --- a/ram/portal/templates/rollingstock.html +++ b/ram/portal/templates/rollingstock.html @@ -50,7 +50,7 @@ {% if rolling_stock.decoder %}{% endif %} {% if rolling_stock.notes %}{% endif %} - {% if rolling_stock.document.count > 0 %}{% endif %} + {% if rolling_stock.document.count > 0 or rolling_stock.decoder.document.count > 0 %}{% endif %} {% if rolling_stock_journal.count > 0 %}{% endif %} @@ -292,6 +292,7 @@