diff --git a/ram/portal/templates/includes/header.html b/ram/portal/templates/includes/header.html new file mode 100644 index 0000000..a8f5c09 --- /dev/null +++ b/ram/portal/templates/includes/header.html @@ -0,0 +1,7 @@ +
+
+
+ {% block header_content %}{% endblock %} +
+
+
diff --git a/ram/portal/templates/page.html b/ram/portal/templates/page.html index 9a9074c..037d6e8 100644 --- a/ram/portal/templates/page.html +++ b/ram/portal/templates/page.html @@ -29,7 +29,6 @@ {% if rolling_stock.decoder %}{% endif %} {% if rolling_stock.notes %}{% endif %} - {% if properties.count > 0 %}{% endif %} {% if rolling_stock.document.count > 0 %}{% endif %} @@ -139,6 +138,23 @@ + {% if rolling_stock_properties %} + + + + + + + + {% for p in rolling_stock_properties %} + + + + + {% endfor %} + +
Properties
{{ p.property }}{{ p.value }}
+ {% endif %}