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

View File

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