Browse Source

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

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

8
sapl/templates/compilacao/text_list__embedded.html

@ -4,9 +4,11 @@
<div class="cp"> <div class="cp">
{% if object_list %} {% if object_list %}
<div class="actions btn-group" role="group"> {% if 'print' not in request.GET %}
<a href="{{base_url}}?print" class="btn btn-outline-primary" id="btn_impressao">{% trans 'Preparar para impressão' %}</a> <div class="actions btn-group" role="group">
</div> <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>
{% 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