Skip to content

Commit 16b1f09

Browse files
authored
Merge pull request #3492 from unicef/fix_pca
Fix pca
2 parents ffce84e + dfe3872 commit 16b1f09

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/etools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = __version__ = '10.1.1'
1+
VERSION = __version__ = '10.1.2'
22
NAME = 'eTools'

src/etools/applications/core/templatetags/etools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ def text_wrap(text, width=70):
7373
https://github.com/nigma/django-easy-pdf/issues/65
7474
https://github.com/xhtml2pdf/xhtml2pdf/issues/379
7575
"""
76-
return ' '.join(wrap(text, width))
76+
return ' '.join(wrap(text, width, break_on_hyphens=False))

src/etools/applications/partners/templates/pca/english_pdf.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
<tr>
165165
<td>{{ officer.first_name }} {{ officer.last_name }}</td>
166166
<td>{{ officer.title }}</td>
167-
<td>{{ officer.email|text_wrap:30 }}</td>
167+
<td>{{ officer.email|text_wrap:20 }}</td>
168168
<td width="140px">&nbsp;</td>
169169
</tr>
170170
{% endfor %}
@@ -1297,7 +1297,7 @@
12971297
party`s work, employees or other personnel, or subcontractors.
12981298
</p>
12991299
<p>
1300-
(v) "<span class="underline"></span>" is conduct by a party’s employees, personnel or
1300+
(v) "<span class="underline">safeguarding violation</span>" is conduct by a party’s employees, personnel or
13011301
subcontractors that actually or likely causes harm to a person, including
13021302
any kind of physical, emotional or sexual abuse, neglect or exploitation.
13031303
</p>

0 commit comments

Comments
 (0)