Remove document_link widget
The SourceColumn class has now the ability to render a link's absolute_url, turn this on for the document parsing error and OCR error list columns and remove the document_link widget. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -68,9 +68,3 @@ class DocumentPageThumbnailWidget(object):
|
||||
'size_thumbnail_height': setting_thumbnail_height.value,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
def document_link(document):
|
||||
return mark_safe('<a href="%s">%s</a>' % (
|
||||
document.get_absolute_url(), document)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user