Edward
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
sapl/relatorios/templates/pdf_etiqueta_protocolo_gerar.py
|
@ -98,7 +98,11 @@ def protocolos(lst_protocolos, dic_cabecalho): |
|
|
tmp_data += '\t\t<para style="P2"><b>' + \ |
|
|
tmp_data += '\t\t<para style="P2"><b>' + \ |
|
|
dic['natureza'] |
|
|
dic['natureza'] |
|
|
if dic['ident_processo']: |
|
|
if dic['ident_processo']: |
|
|
tmp_data += ' - ' + dic['ident_processo'] + '</b></para>\n' |
|
|
# Limita o tamanho do texto para não "explodir" as etiquetas |
|
|
|
|
|
descricao = dic['ident_processo'][:60] |
|
|
|
|
|
if len(dic['ident_processo']) > 60: |
|
|
|
|
|
descricao += '...' |
|
|
|
|
|
tmp_data += ' - ' + descricao + '</b></para>\n' |
|
|
else: |
|
|
else: |
|
|
tmp_data += '</b></para>\n' |
|
|
tmp_data += '</b></para>\n' |
|
|
|
|
|
|
|
|