diff options
Diffstat (limited to 'app/views/activities')
-rw-r--r-- | app/views/activities/_results.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index e0e54cc..49de2d5 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -16,6 +16,8 @@ <p class="text-xs italic"><%= result[:monster].description %></p> <% when "xp" %> <p class="text-xs">You gained <%= result[:xp] %> <%= result[:skill].name %> XP.</p> + <% when "title" %> + <p>You earned the title <%= render "application/components/text/title", title: result[:title] %>!</p> <% when "message" %> <p><%= result[:body] %></p> <% when "error" %> |