mirror of https://github.com/interlegis/sapl.git
Eduardo Calil
8 years ago
5 changed files with 93 additions and 6 deletions
@ -1,9 +1,15 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% block actions %} |
|||
{% load common_tags %} |
|||
|
|||
<div class="actions btn-group pull-right" role="group"> |
|||
<a href="{% url 'sapl.protocoloadm:tramitacaoadministrativo_list' object.pk %}" class="btn btn-default">{% trans 'Tramitações' %}</a> |
|||
<a href="{{ view.update_url }}" class="btn btn-default">{% trans 'Editar' %}</a> |
|||
<a href="{{ view.delete_url }}" class="btn btn-default">{% trans 'Excluir' %}</a> |
|||
{% if perms|get_change_perm:view %} |
|||
<a href="{{ view.update_url }}" class="btn btn-default">{% trans 'Editar' %}</a> |
|||
{% endif %} |
|||
{% if perms|get_delete_perm:view %} |
|||
<a href="{{ view.delete_url }}" class="btn btn-default">{% trans 'Excluir' %}</a> |
|||
{% endif %} |
|||
</div> |
|||
{% endblock actions %} |
@ -1,9 +1,15 @@ |
|||
{% extends "crud/detail.html" %} |
|||
{% load i18n %} |
|||
{% block actions %} |
|||
{% load common_tags %} |
|||
|
|||
<div class="actions btn-group pull-right" role="group"> |
|||
<a href="{% url 'protocoloadm:documentoadministrativo_detail' root_pk %}" class="btn btn-default">{% trans 'Início' %}</a> |
|||
<a href="{{ view.update_url }}" class="btn btn-default">{% trans 'Editar' %}</a> |
|||
<a href="{{ view.delete_url }}" class="btn btn-default">{% trans 'Excluir' %}</a> |
|||
{% if perms|get_change_perm:view %} |
|||
<a href="{{ view.update_url }}" class="btn btn-default">{% trans 'Editar' %}</a> |
|||
{% endif %} |
|||
{% if perms|get_delete_perm:view %} |
|||
<a href="{{ view.delete_url }}" class="btn btn-default">{% trans 'Excluir' %}</a> |
|||
{% endif %} |
|||
</div> |
|||
{% endblock actions %} |
Loading…
Reference in new issue