Skip to content

Commit

Permalink
Show ready stories in current Tracker iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Apr 14, 2016
1 parent 915bea8 commit 38c2313
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions flash/static/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var SERVICES = {
tracker: function (pane, data) {
if (data.velocity) { pane.find('.velocity').text(data.velocity); }
if (data.stories) {
pane.find('.ready').text(data.stories.planned || 0);
pane.find('.accepted').text(data.stories.accepted || 0);
pane.find('.in-flight').text(data.stories.started || 0);
pane.find('.completed').text(
Expand Down
18 changes: 6 additions & 12 deletions flash/templates/partials/tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@
<span class="item-title">Velocity: </span>
<span class="velocity"></span>
</div>
<div class="pane-item">
<span class="item-title">In flight: </span>
<span class="in-flight"></span>
</div>
<div class="pane-item">
<span class="item-title">Completed: </span>
<span class="completed"></span>
</div>
<div class="pane-item">
<span class="item-title">Accepted: </span>
<span class="accepted"></span>
</div>
{% for category in ['ready', 'in-flight', 'completed', 'accepted'] %}
<div class="pane-item">
<span class="item-title">{{ category | capitalize | replace('-', ' ') }}: </span>
<span class="{{ category }}"></span>
</div>
{% endfor %}
</section>
</div>

0 comments on commit 38c2313

Please sign in to comment.