Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Show how many points left to next level
Browse files Browse the repository at this point in the history
  • Loading branch information
mnordin committed Aug 22, 2012
1 parent a325b20 commit 13bbb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/_level.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="ui-grid-a">
<div class="ui-block-a points"><%= raw t(:'levels.total_points', :total_points => @total_points) %></div>
<% if @level.level < 10 %>
<div class="ui-block-b next-level"><%= raw t(:'levels.next_level', :next_level_points => @level.next_level) %></div>
<div class="ui-block-b next-level"><%= raw t(:'levels.next_level', :next_level_points => @level.next_level - @level.points) %></div>
<% end %>
</div>
<div class="graph parent ui-body-a">
Expand Down

0 comments on commit 13bbb18

Please sign in to comment.