diff --git a/web/views/attachments.html b/web/views/attachments.html
index dc618283..cb272167 100644
--- a/web/views/attachments.html
+++ b/web/views/attachments.html
@@ -78,7 +78,9 @@
- {{template "p/attachments-table" .Attachments}}
+ {{range $val := .Attachments}}
+ {{template "p/attachment" $val}}
+ {{end}}
diff --git a/web/views/envelopes-view.html b/web/views/envelopes-view.html
index fff49419..491789de 100644
--- a/web/views/envelopes-view.html
+++ b/web/views/envelopes-view.html
@@ -54,7 +54,9 @@
{{if .Envelope.Attachments}}
- {{template "p/attachments-table" .Envelope.Attachments}}
+ {{range $val := .Envelope.Attachments}}
+ {{template "p/attachment" $val}}
+ {{end}}
{{end}}
diff --git a/web/views/index.html b/web/views/index.html
index c772ce21..7b777a64 100644
--- a/web/views/index.html
+++ b/web/views/index.html
@@ -51,19 +51,19 @@ Retention Policy
{{if .RetentionPolicy.EnvelopeCount}}
- Envelope Count Limit |
+ Max Envelope Count |
{{.RetentionPolicy.EnvelopeCount}} |
{{end}}
{{if .RetentionPolicy.EnvelopeAge}}
- Envelope Age Limit |
+ Max Envelope Age |
{{.RetentionPolicy.EnvelopeAge}} |
{{end}}
{{if .RetentionPolicy.AttachmentSize}}
- Attachment Size Limit |
+ Max Attachments Size |
{{bytesHumanize .RetentionPolicy.AttachmentSize}} |
{{end}}
diff --git a/web/views/p/attachment.html b/web/views/p/attachment.html
new file mode 100644
index 00000000..b4306e4d
--- /dev/null
+++ b/web/views/p/attachment.html
@@ -0,0 +1,27 @@
+
+ {{if .IsImage}}
+
+
+
+ {{else}}
+
+ {{end}}
+
+
diff --git a/web/views/p/attachments-table.html b/web/views/p/attachments-table.html
deleted file mode 100644
index 9f6cb8b8..00000000
--- a/web/views/p/attachments-table.html
+++ /dev/null
@@ -1,26 +0,0 @@
-