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 # specific to this project
whoosh_index
collected_static collected_static
bower bower
bower_components bower_components
media media

4
sapl/templates/norma/normajuridica_filter.html

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

Loading…
Cancel
Save