summaryrefslogtreecommitdiffstats
path: root/templates/globalrelay_compliance_export_participant_row.html
diff options
context:
space:
mode:
authorJonathan <jonfritz@gmail.com>2018-02-07 09:02:46 -0500
committerGitHub <noreply@github.com>2018-02-07 09:02:46 -0500
commitd3e934d07ac0a58a24a435ea7c5b3bd222ef509a (patch)
treeb356b134878ee8686326475b04c90317e195bf86 /templates/globalrelay_compliance_export_participant_row.html
parentb2ee5077931013d308aaf60d790d341e2cb0c3e3 (diff)
downloadchat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.tar.gz
chat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.tar.bz2
chat-d3e934d07ac0a58a24a435ea7c5b3bd222ef509a.zip
XYZ-35: Added Support for GlobalRelay Compliance Export Format
* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export * Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo * Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests * Moving templates in from enterprise to solve test issues * Added export format to diagnostics * Changed email attachment code to use FileBackend so that S3 storage is properly supported
Diffstat (limited to 'templates/globalrelay_compliance_export_participant_row.html')
-rw-r--r--templates/globalrelay_compliance_export_participant_row.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/globalrelay_compliance_export_participant_row.html b/templates/globalrelay_compliance_export_participant_row.html
new file mode 100644
index 000000000..7a61e23eb
--- /dev/null
+++ b/templates/globalrelay_compliance_export_participant_row.html
@@ -0,0 +1,10 @@
+{{define "globalrelay_compliance_export_participant_row"}}
+<tr>
+ <td class="username">@{{.Props.Username}}</td>
+ <td class="email">{{.Props.Email}}</td>
+ <td class="joined">{{.Props.Joined}}</td>
+ <td class="left">{{.Props.Left}}</td>
+ <td class="duration">{{.Props.DurationMinutes}} Minutes</td>
+ <td class="messages">{{.Props.NumMessages}}</td>
+</tr>
+{{end}} \ No newline at end of file