diff --git a/sigi/apps/metas/templates/metas/openmap.html b/sigi/apps/metas/templates/metas/openmap.html new file mode 100644 index 0000000..6f05c56 --- /dev/null +++ b/sigi/apps/metas/templates/metas/openmap.html @@ -0,0 +1,306 @@ +{% load admin_static bootstrapped_goodies_tags %} +{% load i18n %} + + +
+CNPJ | {{ orgao.cnpj }} |
---|---|
Data de instalação | {{ orgao.data_instalacao }} |
Endereço | {{ orgao.logradouro }}, {{ orgao.bairro }}, {{ orgao.municipio.nome }}, {{ orgao.municipio.uf.sigla }}, CEP: {{ orgao.cep }} |
Telefones | {% for telefone in orgao.telefones.all %}{{ telefone.numero }}{% if not forloop.last %}, {% endif %}{% endfor %} |
{{ orgao.email }} | |
Convênios | {% for c in orgao.convenio_set.all %}{{ c }}{% if not forloop.last %}, {% endif %}{% endfor %} |
Serviços | {% for s in orgao.servico_set.all %}{% if s.url %}{{ s }}{% else %}{{ s }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} |
Gerentes | {% for g in orgao.gerentes_interlegis.all %}{{ g.nome_completo }}{% if not forloop.last %}, {% endif %} {% endfor %} |