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 }} {{ message }}
</li> </li>
</ul> </ul>
{{#attachments}}
<img src={{.}}>
{{/attachments}}
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='contact'> <script type='text/x-tmpl-mustache' id='contact'>

View file

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