diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/activities/_timer.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/activities/_timer.html.erb b/app/views/activities/_timer.html.erb index 46e0eb0..c7d881c 100644 --- a/app/views/activities/_timer.html.erb +++ b/app/views/activities/_timer.html.erb @@ -5,5 +5,12 @@ class="text-center"> <span data-timer-target="timer" class="text-3xl"></span> </div> + + <% most_recent_cs = current_char.character_skills.order(:updated_at).last %> + <div class="text-center text-sm"> + <div class="text-xs"><%= most_recent_cs.skill.name %> level <%= most_recent_cs.level %></div> + <div><%= most_recent_cs.xp_to_next_level %> XP to next level</div> + </div> + <%= button_to "Stop", stop_activity_path %> <% end %> |