{% extends "ace/base.html" %} {% block title %} Detalhes do local {% endblock %} {% block extra-css %} {% load staticfiles %} {% endblock %} {% block titulo %}

Local: {{ local.placetype }} {{ local.name }}

{% 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 local.placetype != 'sala-tecnica' %} {% if p %}
{% endif %} {% endif %}
{% if local.plcetype != 'sala-tecnica' %}
Pontos de rede
{% if p %}
{% for ponto in p %} {% if ponto.switch %} {% else %} {% endif %} {% endfor %}
Número Tipo Rack Switch Porta do switch Obs
{{ ponto.num }} {{ ponto.pointtype }} {{ ponto.rack|default_if_none:"" }}{{ ponto.switch }} {{ ponto.swport.num }} {{ ponto.comments }}
{% else %}
{% endif %}
{% 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 %}
{% endblock %} {% block extra-js %} {% load staticfiles %} {% endblock %}