render attachments

This commit is contained in:
lilia 2014-10-25 23:09:29 -07:00
parent b69db59ad4
commit 3334504eff
2 changed files with 12 additions and 5 deletions

View file

@ -62,6 +62,9 @@
{{ message }}
</li>
</ul>
{{#attachments}}
<img src={{.}}>
{{/attachments}}
</div>
</script>
<script type='text/x-tmpl-mustache' id='contact'>

View file

@ -57,6 +57,10 @@ li.entry.outgoing .avatar {
display: none;
}
li.entry img {
max-width: 100%;
}
.attachments img {
width: 30px;
height: 30px;