Support adding comments to records

This commit is contained in:
Pierre Jaury
2016-03-20 11:38:37 +01:00
parent 370a2fae4d
commit 8fb2e58661
8 changed files with 21 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ Alias list
<th>Actions</th>
<th>Address</th>
<th>Destination</th>
<th>Comment</th>
<th>Created</th>
<th>Last edit</th>
</tr>
@@ -30,6 +31,7 @@ Alias list
</td>
<td>{{ alias }}</td>
<td>{{ alias.destination or '-' }}</td>
<td>{{ alias.comment or '' }}</td>
<td>{{ alias.created_at }}</td>
<td>{{ alias.updated_at or '' }}</td>
</tr>

View File

@@ -18,6 +18,7 @@ Domain list
<th>Domain name</th>
<th>Mailbox count</th>
<th>Alias count</th>
<th>Comemnt</th>
<th>Created</th>
<th>Last edit</th>
</tr>
@@ -33,6 +34,7 @@ Domain list
<td>{{ domain.name }}</td>
<td>{{ domain.users | count }} / {{ domain.max_users or '∞' }}</td>
<td>{{ domain.aliases | count }} / {{ domain.max_aliases or '∞' }}</td>
<td>{{ domain.comment or '' }}</td>
<td>{{ domain.created_at }}</td>
<td>{{ domain.updated_at or '' }}</td>
</tr>

View File

@@ -22,6 +22,7 @@ User list
<th>Forward</th>
<th>Reply</th>
<th>Quota</th>
<th>Comment</th>
<th>Created</th>
<th>Last edit</th>
</tr>
@@ -41,6 +42,7 @@ User list
<td>{% if user.forward %}<span class="label label-info">enabled</span>{% endif %}</td>
<td>{% if user.reply_subject %}<span class="label label-info">enabled</span>{% endif %}</td>
<td>{{ user.quota_bytes | filesizeformat }}</td>
<td>{{ user.comment or '' }}</td>
<td>{{ user.created_at }}</td>
<td>{{ user.updated_at or '' }}</td>
</tr>