{% extends "ace/base.html" %} {% block title %}
Número: {{ ponto.num }}
Tipo: {{ ponto.pointtype }}
Localização: {{ ponto.place }}
{% if ponto.place.sector %}Setor: {{ ponto.place.sector }}
{% endif %} {% if ponto.patchpanelport %}Porta do patchpanel: {{ ponto.patchpanelport.num }}
{% endif %} {% if ponto.patchpanelport.patchpanel %}Patchpanel: {{ ponto.patchpanelport.patchpanel.num }}
{% endif %} {% if ponto.rack %} Rack: {{ ponto.rack.name }} - {{ ponto.rack.place }} {% endif %} {% if ponto.pointtype == 'dados' %} {% if ponto.switch %}Switch: {{ ponto.switch.name |default_if_none:"" }}
{% endif %} {% if ponto.swport %}Porta do Switch: {{ ponto.swport.num |default_if_none:"" }}
{% endif %} {% if ponto.swport.host %}Equipamento:{{ ponto.swport.host |default_if_none:"" }}
{% endif %} {% endif %}Telefone/ramal - Usuário: {{ ponto.phone|default_if_none:"" }} {{ ponto.phone.user.get_full_name|default_if_none:"" }}
{% endif %} {% endif %}Data de cadastro {{ ponto.creation_date }}
Data de modificação {{ ponto.modification_date }}
{% if ponto.comments %}Observações:{{ ponto.comments }}
{% endif %}