Browse Source
Conserta bug em relatórios com emenda longa. (#3674)
Conserta bug em relatórios com emenda larga
pull/3677/head
Edward
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
15 additions and
6 deletions
-
sapl/static/sapl/css/relatorio.css
-
sapl/templates/relatorios/relatorio_pauta_sessao.html
-
sapl/templates/sessao/blocos_resumo/materias_ordem_dia.html
-
sapl/templates/sessao/pauta_sessao_detail.html
|
@ -58,6 +58,7 @@ fieldset { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
table { |
|
|
table { |
|
|
|
|
|
table-layout: fixed; |
|
|
max-width: 520px; |
|
|
max-width: 520px; |
|
|
} |
|
|
} |
|
|
table.grayTable { |
|
|
table.grayTable { |
|
@ -69,6 +70,10 @@ table.grayTable { |
|
|
table.grayTable td, table.grayTable th { |
|
|
table.grayTable td, table.grayTable th { |
|
|
border: 1px solid #000000; |
|
|
border: 1px solid #000000; |
|
|
padding: 5px; |
|
|
padding: 5px; |
|
|
|
|
|
overflow-wrap: break-word; |
|
|
|
|
|
word-wrap: break-word; |
|
|
|
|
|
text-align: justify; |
|
|
|
|
|
vertical-align: top; |
|
|
} |
|
|
} |
|
|
table.grayTable tbody td { |
|
|
table.grayTable tbody td { |
|
|
font-size: 10px; |
|
|
font-size: 10px; |
|
|
|
@ -6,12 +6,17 @@ |
|
|
|
|
|
|
|
|
{% block content %} |
|
|
{% block content %} |
|
|
<style> |
|
|
<style> |
|
|
|
|
|
table { |
|
|
|
|
|
width:100%; |
|
|
|
|
|
table-layout: fixed; |
|
|
|
|
|
} |
|
|
table.grayTable tbody td { |
|
|
table.grayTable tbody td { |
|
|
font-size: 10px; |
|
|
font-size: 10px; |
|
|
max-width: 80px; |
|
|
max-width: 80px; |
|
|
overflow-wrap: break-word; |
|
|
overflow-wrap: break-word; |
|
|
word-wrap: break-word; |
|
|
word-wrap: break-word; |
|
|
text-align: initial; |
|
|
text-align: justify; |
|
|
|
|
|
vertical-align: top; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
<h2 class="gray-title">Identificação Básica</h2> |
|
|
<h2 class="gray-title">Identificação Básica</h2> |
|
@ -19,7 +24,7 @@ |
|
|
{{ b }}<br/> |
|
|
{{ b }}<br/> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
<h2 class="gray-title">Correspondências</h2> |
|
|
<h2 class="gray-title">Correspondências</h2> |
|
|
<table class="grayTable"> |
|
|
<table style="table grayTable"> |
|
|
<tbody> |
|
|
<tbody> |
|
|
{% for c in correspondencias%} |
|
|
{% for c in correspondencias%} |
|
|
<tr> |
|
|
<tr> |
|
|
|
@ -1,4 +1,3 @@ |
|
|
|
|
|
|
|
|
{% load common_tags %} |
|
|
{% load common_tags %} |
|
|
{% if materias_ordem %} |
|
|
{% if materias_ordem %} |
|
|
<fieldset> |
|
|
<fieldset> |
|
|
|
@ -1,6 +1,6 @@ |
|
|
{% extends "crud/detail.html" %} |
|
|
{% extends "crud/detail.html" %} |
|
|
{% load i18n %} |
|
|
{% load i18n %} |
|
|
{% load crispy_forms_tags %} |
|
|
{% load crispy_forms_tags common_tags%} |
|
|
|
|
|
|
|
|
{% block base_content %} |
|
|
{% block base_content %} |
|
|
<div align=right><a href="{% url 'sapl.sessao:pauta_sessao_detail' object.pk %}pdf"> Impressão PDF</a></li></div> |
|
|
<div align=right><a href="{% url 'sapl.sessao:pauta_sessao_detail' object.pk %}pdf"> Impressão PDF</a></li></div> |
|
@ -64,7 +64,7 @@ |
|
|
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }} |
|
|
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }} |
|
|
</td> |
|
|
</td> |
|
|
<td style="width:60%;"> |
|
|
<td style="width:60%;"> |
|
|
{{m.ementa|safe}} |
|
|
{{m.ementa|dont_break_out}} |
|
|
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %} |
|
|
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %} |
|
|
</td> |
|
|
</td> |
|
|
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td> |
|
|
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td> |
|
@ -89,7 +89,7 @@ |
|
|
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }} |
|
|
<b>Autor{{ m.autor|length|pluralize:"es" }}</b>: {{ m.autor|join:', ' }} |
|
|
</td> |
|
|
</td> |
|
|
<td style="width:60%;"> |
|
|
<td style="width:60%;"> |
|
|
{{m.ementa|safe}} |
|
|
{{m.ementa|dont_break_out}} |
|
|
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %} |
|
|
{% if m.observacao %}<br><br>Obs.: {{m.observacao}} {% endif %} |
|
|
</td> |
|
|
</td> |
|
|
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td> |
|
|
<td style="width:20%;">{{m.situacao|linebreaksbr|safe}}</td> |
|
|