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