diff --git a/frontend/src/components/InstanceView.jsx b/frontend/src/components/InstanceView.jsx index cbcfbd4..58fc196 100644 --- a/frontend/src/components/InstanceView.jsx +++ b/frontend/src/components/InstanceView.jsx @@ -54,7 +54,7 @@ export const InstanceView = ({ templateName, objectID, endpoint }) => { return (
{details.map((item, idx) => { if (item.type === "SVGDisplay") { diff --git a/templates/classes.html.j2 b/templates/classes.html.j2 index eec3693..d40b742 100644 --- a/templates/classes.html.j2 +++ b/templates/classes.html.j2 @@ -1,10 +1,28 @@ {% macro properties_table(properties, object) %} + + + {% endif %} - + {% endfor %}
Property Name Type MultiplicityDescription
{{ property.min_card.value }} .. {{ property.max_card.value }}{% if property.description %} + {{ property.description }} + {% else %} +

No description available.

+ {% endif %} +
{% endmacro %} -

{{ object.name | capitalize }}

+

{{ object.name }}

+

{{ object.parent._short_html_() }}


{% if object.description %}

{{ object.description }}

{% else %}

No description available.

{% endif %} +

Owned Properties

{% if object.owned_properties %} -

The object owns the following properties:

+

The object owns the following properties:


{{ properties_table(object.owned_properties, object) }} {% else %}

No properties are owned by this object.