Browse Source

HOT-FIX: corrige link de 'Prepa p impro' app comp

pull/3292/head
Leandro Roberto 4 years ago
parent
commit
929f7ecbe6
  1. 4
      sapl/templates/compilacao/text_list__embedded.html

4
sapl/templates/compilacao/text_list__embedded.html

@ -4,9 +4,11 @@
<div class="cp"> <div class="cp">
{% if object_list %} {% if object_list %}
{% if 'print' not in request.GET %}
<div class="actions btn-group" role="group"> <div class="actions btn-group" role="group">
<a href="{{base_url}}?print" class="btn btn-outline-primary" id="btn_impressao">{% trans 'Preparar para impressão' %}</a> <a href="{% if 'compilacao' not in request.resolver_match.namespace %}{% url 'sapl.compilacao:ta_text' object_list.0.ta_id %}{% else %}{{request.path}}{% endif %}?print" class="btn btn-outline-primary" id="btn_impressao">{% trans 'Preparar para impressão' %}</a>
</div> </div>
{% endif %}
<div class="actions btn-group float-right" role="group"> <div class="actions btn-group float-right" role="group">
<a class="btn btn-outline-primary" id="btn_font_menos" title="Diminuir tamanho da letra">a</a> <a class="btn btn-outline-primary" id="btn_font_menos" title="Diminuir tamanho da letra">a</a>

Loading…
Cancel
Save