mirror of https://github.com/interlegis/sapl.git
João Rodrigues
6 years ago
committed by
Cesar Carvalho
3 changed files with 31 additions and 37 deletions
@ -1,36 +0,0 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
|
|||
{% block detail_content %} |
|||
{{ block.super }} |
|||
{% if user.is_superuser %} |
|||
<div class="row"> |
|||
{% if materia.user %} |
|||
<div class="col-sm-6"> |
|||
<div id="div_id_user" class="form-group"> |
|||
<p class="control-label">Usuário</p> |
|||
<div class="controls"> |
|||
<div class="form-control-static"> |
|||
<div class="dont-break-out"> |
|||
<a href="{% url 'sapl.base:user_edit' materia.user.pk %}">{{materia.user}}</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
{% endif %} |
|||
{% if materia.ip %} |
|||
<div class="col-sm-6"> |
|||
<div id="div_ip_user" class="form-group"> |
|||
<p class="control-label">IP</p> |
|||
<div class="controls"> |
|||
<div class="form-control-static"> |
|||
<div class="dont-break-out">{{materia.ip}}</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
{% endif %} |
|||
</div> |
|||
{% endif %} |
|||
{% endblock detail_content %} |
Loading…
Reference in new issue