summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/full_view.hbs
diff options
context:
space:
mode:
authorPatrick Maia and Victor Shyba <pixelated-team+pmaia+vshyba@thoughtworks.com>2014-11-03 17:35:12 -0300
committerPatrick Maia <pmaia@thoughtworks.com>2014-11-03 17:35:12 -0300
commitb1283a90007a85d4d3ac565d484334a77523ca63 (patch)
treef2e335be9bf40dcc19d650ea1d5e24d9f6e5de25 /web-ui/app/templates/mails/full_view.hbs
parentc4d6f25902a28e7a17bb2bb2dce10db90b0ce8c8 (diff)
Card #30 - shows attachment information on mail visualization
Diffstat (limited to 'web-ui/app/templates/mails/full_view.hbs')
-rw-r--r--web-ui/app/templates/mails/full_view.hbs8
1 files changed, 8 insertions, 0 deletions
diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs
index b28e8086..820d2ed0 100644
--- a/web-ui/app/templates/mails/full_view.hbs
+++ b/web-ui/app/templates/mails/full_view.hbs
@@ -68,6 +68,14 @@
<p>{{ this }}</p>
{{/each }}
</div>
+
+ {{#if attachments}}
+ <div class="attachmentsArea column large-12">
+ {{#each attachments }}
+ <a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}" target="_blank">{{ this.name }}</a>
+ {{/each }}
+ </div>
+ {{/if}}
</div>
<script>
(function () {