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:
Roberto Rosario
2018-12-24 02:43:26 -04:00
parent ae22e0f70c
commit 4a0e9ffa15
3 changed files with 11 additions and 19 deletions

View File

@@ -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)
)