Made sure PDF Preview link in doc tooltip is only displayed when

PDF preview rendering is available.
Merge pull request #44 from 4teamwork/lg-pdf-preview-condition

Make sure PDF Preview link in doc tooltip is only displayed when PDF preview rendering is available.