Browse Source

Remove botão de adicionar em pesquisa de norma para usuário anonimo

pull/845/head
Eduardo Edson Batista Cordeiro Alves 8 years ago
parent
commit
ebd9ed51c2
  1. 2
      .gitignore
  2. 4
      sapl/templates/norma/normajuridica_filter.html

2
.gitignore

@ -87,8 +87,8 @@ target/
# specific to this project
whoosh_index
collected_static
bower
bower_components
media

4
sapl/templates/norma/normajuridica_filter.html

@ -4,11 +4,11 @@
{% block actions %}
<div class="actions btn-group pull-right" role="group">
<a href="{% url 'sapl.norma:normajuridica_create' %}" class="btn btn-default">
{% if perms.norma.add_normajuridica %}
<a href="{% url 'sapl.norma:normajuridica_create' %}" class="btn btn-default">
{% blocktrans with verbose_name=view.verbose_name %} Adicionar Norma Jurídica {% endblocktrans %}
{% endif %}
</a>
{% endif %}
{% if filter_url %}
<a href="{% url 'sapl.norma:norma_pesquisa' %}" class="btn btn-default">{% trans 'Fazer nova pesquisa' %}</a>
{% endif %}

Loading…
Cancel
Save