add post count to pool listing
This commit is contained in:
@@ -19,6 +19,10 @@ table.striped {
|
||||
}
|
||||
}
|
||||
|
||||
.number {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
thead {
|
||||
tr {
|
||||
border-bottom: 2px solid #666;
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%"></th>
|
||||
<th width="70%">Name</th>
|
||||
<th width="60%">Name</th>
|
||||
<th width="25%">Creator</th>
|
||||
<th width="10%">Count</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -20,6 +21,9 @@
|
||||
<td>
|
||||
<%= link_to h(pool.creator.name), user_path(pool.creator) %>
|
||||
</td>
|
||||
<td>
|
||||
<%= pool.post_count %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user