{% extends "base.html" %} {% block title %} {{ title }} {% endblock %} {% block extra-css %} {% load staticfiles %} {% endblock %} {% block titulo %}
{% endblock %} {% block conteudo1 %}

Andar: {{ local.floor }}

{% if local.sector %}

Setor: {{ local.sector }}

{% endif %}
{% if phonetotal %}

Nº de telefones: {{ phonetotal }}

{% endif %} {% if ptotal %}

Nº de pontos de rede: {{ ptotal }}

{% endif %} {% if local.comments %}

Obs{{ local.comments }}

{% endif %}
{% if p or phone %} {% endif %}

{% if p %}
{% endif %}

Pontos de rede
{% if p %}
Número {% for ponto in p %} {% if ponto.phone %} {% else %} {% endif %} {% if ponto.rack %} {% else %} {% endif %} {% if ponto.patchpanel %} {% else %} {% endif %} {% if ponto.patchpanelport %} {% else %} {% endif %} {% if ponto.switch %} {% else %} {% endif %} {% endfor %}
>Tipo >Telefone >Rack >Patchpanel >Porta patchpanel >Switch >Porta do switch >Obs
>{{ ponto.num }} >{{ ponto.pointtype }}>{{ ponto.phone }}>{{ ponto.rack|default_if_none:"" }}>{{ ponto.patchpanel.num }}>{{ ponto.patchpanelport.num }}>{{ ponto.switch.name }} >{{ ponto.swport.num }} >{{ ponto.comments }}
{% else %}
{% endif %}
{% if phone %}
Telefones deste local
{% for ramal in phone %} {% endfor %}
Número Usuario Categoria Tipo
{{ ramal.num }} {{ ramal.user.first_name |default_if_none:"" }} {{ ramal.user.last_name|default_if_none:"" }} {{ ramal.phonecategory |default_if_none:"" }} {{ ramal.telephonetype |default_if_none:"" }}
{% endif %}
{% if h %}
Equipamentos neste local
{% for host in h %} {% endfor %}
Nome Tipo
{{ host.name }} {{ host.hwtype |default_if_none:"" }}
{% endif %}
{% endblock %} {% block extra-js %} {% load staticfiles %} {% endblock %}