Change the document OCR tab label and view title from 'Content' to 'OCR', to eliminate confusion of OCR text vs. original document content.
This commit is contained in:
@@ -10,7 +10,7 @@ from .permissions import (
|
||||
)
|
||||
|
||||
link_document_content = Link(
|
||||
permissions=(permission_ocr_content_view,), text=_('Content'),
|
||||
permissions=(permission_ocr_content_view,), text=_('OCR'),
|
||||
view='ocr:document_content', args='resolved_object.id'
|
||||
)
|
||||
link_document_submit = Link(
|
||||
|
||||
@@ -157,7 +157,7 @@ def document_content(request, document_id):
|
||||
'hide_labels': True,
|
||||
'object': document,
|
||||
'read_only': True,
|
||||
'title': _('Content of document: %s') % document,
|
||||
'title': _('OCR result for document: %s') % document,
|
||||
}, context_instance=RequestContext(request))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user