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 committed Nov 14, 2011
1 parent 7ad2a5e commit 648442a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/projects/show.dryml
@@ -1,6 +1,6 @@
<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:>
Expand Down

0 comments on commit 648442a

Please sign in to comment.