Permalink
Browse files

stories-table-add-count

We could also add a column showing the number of tasks in a story. Change to `fields="this, tasks.count, status"` and see that a column is added with a readable title "Tasks Count".
  • Loading branch information...
bryanlarsen authored and iox committed Jun 3, 2013
1 parent 11c68ad commit 3bb9e3df9f282e0c11bbd798d14a023af7fc0a02
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/projects/show.dryml
@@ -1,7 +1,7 @@
<show-page>
<collection: replace>
<table-plus:stories fields="this, status">
<table-plus:stories fields="this, tasks_count, status">
<empty-message:>No stories match your criteria</empty-message:>
</table-plus>
</collection:>
</show-page>
</show-page>

0 comments on commit 3bb9e3d

Please sign in to comment.