From fe2c031dfb7034a57376147dd3fc2fad501ff9ef Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 16 Mar 2011 17:04:18 -0400 Subject: [PATCH] Added missing alt attribute --- apps/ocr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ocr/views.py b/apps/ocr/views.py index fe85832ac3..d29e803c31 100644 --- a/apps/ocr/views.py +++ b/apps/ocr/views.py @@ -26,7 +26,7 @@ def _display_thumbnail(ocr_document): try: preview_url = reverse('document_preview', args=[ocr_document.document.pk]) thumbnail_url = reverse('document_thumbnail', args=[ocr_document.document.pk]) - return u'' % (preview_url, thumbnail_url) + return u'%s' % (preview_url, thumbnail_url, _(u'thumbnail')) except: return u''