Timur Sufiev 568dad4193 Tailor Topology Tab view to the new object model
Also refactor collecting topology data a bit and fix ugly-looking
links between topology nodes and too long `type` attr pop-up.

Any entity of object model which has dictionary under system key '?'
with keys 'type' and 'id' produces a single node. If entity doesn't
have an explicit name, it will be generated from that entity's key
(plus index, if it is a list's element).

Change-Id: I4b241aabdda906e256135d412200ff8868a77dff
Closes-Bug: #1304897
2014-04-18 19:01:28 +04:00

11 lines
292 B
HTML

<img src="{{ unit_image }}" width="35px" height="35px" />
{% if data.name %}
<h3>Name: {{ data.name }}</h3>
{% endif %}
{% for key, value in data.items %}
{% if key != "name" and not "password" in key|lower %}
<p>{{ key|title }}: {{ value }}</p>
{% endif %}
{% endfor %}