diff options
author | David Gay <david@davidgay.org> | 2021-05-28 21:45:50 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-28 21:45:50 -0400 |
commit | 65752b4f73cf8e1ce83cdaf8227b5d67923ac729 (patch) | |
tree | 5aa91176d33e828a7c70f122f87946948c884026 /app/views/application | |
parent | ca98987c1a14655aedb4bdcf8fef7311131ca1be (diff) |
Quickly port leaderboard and rankings from old Esoterra
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_header.html.erb | 3 | ||||
-rw-r--r-- | app/views/application/components/text/_name_and_title.html.erb | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index 25067f3..38bfcf4 100644 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -14,6 +14,9 @@ <%= link_to "Items", items_path %> </li> <li class="mr-3"> + <%= link_to "Leaderboard", leaderboard_path %> + </li> + <li class="mr-3"> <%= link_to "Logout", logout_path %> </li> <% else %> diff --git a/app/views/application/components/text/_name_and_title.html.erb b/app/views/application/components/text/_name_and_title.html.erb new file mode 100644 index 0000000..41a4f27 --- /dev/null +++ b/app/views/application/components/text/_name_and_title.html.erb @@ -0,0 +1 @@ +<%= render "application/components/text/title", title: character.active_title %> <%= character.name %> |