Commit 83ca0305 authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Use table for annotations export in HTML format

parent 8882a070
......@@ -189,18 +189,30 @@ export class AnnotationsExporter {
</a>
</p>
<dl>
<dt>Group</dt>
<dd>{groupName}</dd>
<dt>Total users</dt>
<dd>{uniqueUsers.length}</dd>
<dt>Users</dt>
<dd>{uniqueUsers.join(', ')}</dd>
<dt>Total annotations</dt>
<dd>{annotations.length}</dd>
<dt>Total replies</dt>
<dd>{replies.length}</dd>
</dl>
<table>
<tbody>
<tr>
<td>Group:</td>
<td>{groupName}</td>
</tr>
<tr>
<td>Total users:</td>
<td>{uniqueUsers.length}</td>
</tr>
<tr>
<td>Users:</td>
<td>{uniqueUsers.join(', ')}</td>
</tr>
<tr>
<td>Total annotations:</td>
<td>{annotations.length}</td>
</tr>
<tr>
<td>Total replies:</td>
<td>{replies.length}</td>
</tr>
</tbody>
</table>
</section>
<hr />
<section>
......
......@@ -323,18 +323,30 @@ ${formattedNow},http://example.com,My group,Annotation,,John Doe,Annotation text
http://example.com
</a>
</p>
<dl>
<dt>Group</dt>
<dd>My group</dd>
<dt>Total users</dt>
<dd>2</dd>
<dt>Users</dt>
<dd>jane, bill</dd>
<dt>Total annotations</dt>
<dd>3</dd>
<dt>Total replies</dt>
<dd>1</dd>
</dl>
<table>
<tbody>
<tr>
<td>Group:</td>
<td>My group</td>
</tr>
<tr>
<td>Total users:</td>
<td>2</td>
</tr>
<tr>
<td>Users:</td>
<td>jane, bill</td>
</tr>
<tr>
<td>Total annotations:</td>
<td>3</td>
</tr>
<tr>
<td>Total replies:</td>
<td>1</td>
</tr>
</tbody>
</table>
</section>
<hr />
<section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment