Browse Source

Fix #2615

pull/2618/head
Renann Souza 6 years ago
committed by Leandro Roberto Silva
parent
commit
9775e9a24e
  1. 2
      sapl/templates/compilacao/textoarticulado_detail.html

2
sapl/templates/compilacao/textoarticulado_detail.html

@ -21,7 +21,7 @@
{% if perms.compilacao.lock_unlock_textoarticulado and not object.editable_only_by_owners%}
<a href="{% url 'sapl.compilacao:ta_text_edit' object.pk %}?{% if object.editing_locked %}unlock{%else%}lock{% endif %}" class="btn {% if object.editing_locked %}btn-outline-danger{%else%}btn-outline-primary{% endif %}">{% if object.editing_locked %}{% trans 'Desbloquear Edição' %}{%else%}{% trans 'Publicar Texto' %}{% endif %}</a>
{% endif %}
<a href="{{base_url}}?print" class="btn btn-outline-primary">Imprimir Texto</a>
</div>
</div>
{% endblock actions %}

Loading…
Cancel
Save