Show file content for non-binary files

This commit is contained in:
2017-11-27 21:33:58 +01:00
parent f190b6aabb
commit 7263f092d0
9 changed files with 92 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
{{#if fileLoaded}}
{{#if isImage}}
<img src="" alt={{metaData.name}}>
{{/if}}
{{#if isText}}
<code>{{fileContent}}</code>
{{/if}}
{{/if}}