Skip to content

Commit

Permalink
stories-table-add-count
Browse files Browse the repository at this point in the history
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 Aug 12, 2013
1 parent 11c68ad commit 3bb9e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.