From 629542aa0e3ad63ea1426571cb7dcae6e5da973d Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 26 May 2021 19:39:05 -0400 Subject: Show level, xp, xptnl on timer --- app/views/activities/_timer.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app') 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"> + + <% most_recent_cs = current_char.character_skills.order(:updated_at).last %> +
+
<%= most_recent_cs.skill.name %> level <%= most_recent_cs.level %>
+
<%= most_recent_cs.xp_to_next_level %> XP to next level
+
+ <%= button_to "Stop", stop_activity_path %> <% end %> -- cgit v1.2.3