Add TEST and PDF attachment preview (close #40)

This commit is contained in:
RainLoop Team 2013-12-29 18:26:40 +04:00
parent 50f16ea7b7
commit a8a21f42f7
7 changed files with 99 additions and 10 deletions

View file

@ -195,6 +195,14 @@
data-bind="visible: isImage(), attr: {href: linkPreview(), title: fileName}" target="_blank">
<i class="icon-eye"></i>
</a>
<a class="attachmentPreview pull-left"
data-bind="visible: isText(), attr: {href: linkPreviewAsPlain(), title: fileName}" target="_blank">
<i class="icon-eye"></i>
</a>
<a class="attachmentPreview pull-left"
data-bind="visible: isPdf(), attr: {href: linkPreview(), title: fileName}" target="_blank">
<i class="icon-eye"></i>
</a>
<span class="attachmentSize pull-right" data-bind="text: friendlySize"></span>
</div>
</li>