Changeset 77cb9e in indico
- Timestamp:
- 05/17/10 19:24:14 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 9729e8
- Parents:
- 84c86e
- File:
-
- 1 edited
-
indico/MaKaC/PDFinterface/conference.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/PDFinterface/conference.py
r121c3a r77cb9e 18 18 ## along with CDS Indico; if not, write to the Free Software Foundation, Inc., 19 19 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 20 from MaKaC.common import logger 21 20 from MaKaC.common import logger, utils 22 21 import string 23 22 import types … … 395 394 title = doc.getCurrentPart() 396 395 if len(doc.getCurrentPart())>50: 397 title = doc.getCurrentPart()[:50]+ "..."396 title = utils.unicodeSlice(doc.getCurrentPart(), 0, 50) + "..." 398 397 c.drawRightString(self._PAGE_WIDTH - inch, self._PAGE_HEIGHT - 0.75 * inch, "%s"%title) 399 398 c.drawRightString(self._PAGE_WIDTH - inch, 0.75 * inch, _(""" _("Page") %d """)%doc.page)
Note: See TracChangeset
for help on using the changeset viewer.
