Sistema de Informações Gerenciais do Interlegis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.5 KiB

{% extends "crud/detail.html" %}
{% load i18n %}
{% block actions %}
<div class="actions btn-group pull-right" role="group">
<a href="{{ view.update_url }}" class="btn btn-default">{% trans 'Editar Perfil' %}</a>
</div>
{% endblock actions %}
{% block msg %}
{% if usuario.conveniado and usuario.responsavel %}
<h4><font face="verdana" color="green"><p>Esse perfil já <strong>está habilitado</strong> para uso das funcionalidades.</p></font></h4>
{% else %}
<h4><font face="verdana" color="red"><p>Esse perfil ainda <strong>não está habilitado</strong> para uso das funcionalidades.</p></font></h4>
{% endif %}
{% endblock msg %}
{% block detail_content %}
<br />
<table class="table table-striped table-bordered">
<tr><th width="160">Nome de Usuário: </th><td>{{object.username}}</td></tr>
<tr><th width="160">Nome completo: </th><td>{{object.nome_completo}}</td></tr>
<tr><th width="160">Email: </th><td>{{object.email}}</td></tr>
<tr><th width="160">CPF: </th><td>{{object.cpf}}</td></tr>
<tr><th width="160">RG: </th><td>{{object.rg}}</td></tr>
<tr><th width="160">Casa Legislativa: </th><td>{{object.casa_legislativa}}</td></tr>
<tr><th width="160">Cargo: </th><td>{{object.cargo}}</td></tr>
<tr><th width="160">Vínculo: </th><td>{{object.vinculo}}</td></tr>
<tr><th width="160">Telefone(s): </th>
<td>
{% for tel in telefones %}
{{tel|last}}<br/>
{% endfor %}
</td>
</tr>
</table>
{% endblock %}