summaryrefslogtreecommitdiff
path: root/app/views/application
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/application')
-rw-r--r--app/views/application/_timer.html.erb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb
index 51d9b81..a18e739 100644
--- a/app/views/application/_timer.html.erb
+++ b/app/views/application/_timer.html.erb
@@ -15,14 +15,18 @@
</div>
</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>
- <div class="text-center my-2">
+ <div class="text-center text-sm my-2">
+ <% if current_char.queued_actions %>
+ <div class="my-1">
+ <%= pluralize(current_char.queued_actions + 1, "action") %> remaining.
+ </div>
+ <% end %>
<%= button_to "Stop", stop_activity_path, class: "text-sm" %>
</div>