FEATURE: use less space for flag dispositions

This commit is contained in:
Régis Hanol 2014-08-11 22:28:11 +02:00
parent 93a6203378
commit 5e41408b55
2 changed files with 31 additions and 29 deletions

View File

@ -51,19 +51,17 @@
<tbody>
{{#each flaggedPost.flaggers}}
<tr>
<td width="20%">
<td>
{{#link-to 'adminUser' user}}
{{avatar user imageSize="small"}}
{{/link-to}}
</td>
<td width="40%">
<td>
{{#link-to 'adminUser' user}}
{{user.username}}
{{/link-to}}
{{age flaggedAt}}
<br />
{{date flaggedAt}}
</td>
<td width="40%">
{{flagType}}
</td>
</tr>
@ -73,28 +71,26 @@
</td>
<td class='flaggers result'>
<table>
<tbody>
{{#each flaggedPost.flaggers}}
<tr>
<td width="20%">
{{#link-to 'adminUser' disposedBy}}
{{avatar disposedBy imageSize="small"}}
{{/link-to}}
</td>
<td width="40%">
{{date disposedAt}}
</td>
<td width="40%">
{{{dispositionIcon}}}
{{#if tookAction}}
<i class='fa fa-gavel' title='{{i18n admin.flags.took_action}}'></i>
{{/if}}
</td>
</tr>
{{/each}}
</tbody>
</table>
{{#if adminOldFlagsView}}
<table>
<tbody>
{{#each flaggedPost.flaggers}}
<tr>
<td>
{{#link-to 'adminUser' disposedBy}}
{{avatar disposedBy imageSize="small"}}
{{/link-to}}
{{age disposedAt}}
{{{dispositionIcon}}}
{{#if tookAction}}
<i class='fa fa-gavel' title='{{i18n admin.flags.took_action}}'></i>
{{/if}}
</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}
</td>
</tr>

View File

@ -506,8 +506,8 @@ section.details {
padding-top: 8px;
}
.excerpt {
max-width: 720px;
width: 720px;
max-width: 800px;
width: 800px;
padding: 8px;
word-wrap: break-word;
.fa { display: inline-block; }
@ -519,6 +519,12 @@ section.details {
.flaggers {
font-size: 11px;
padding: 8px 0 0 5px;
table {
max-width: 145px;
}
tr {
height: 44px;
}
td {
vertical-align: middle;
padding: 3px;