diff options
author | David Gay <david@davidgay.org> | 2021-06-07 16:07:01 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-07 16:07:01 -0400 |
commit | 1ad48cd5ed9dd8c476218d44c1d188df72b72271 (patch) | |
tree | d5fff79e0e7af70949aaacb26b1a6f8849b4d177 | |
parent | 7433ac3221f9d784b8797afc4c94df1846becbd1 (diff) |
Display title at top of character view along with name
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | app/views/characters/show.html.erb | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a46f657..60f5472 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. ## [0.1.8.2] - 2021-06-07 +### UI +- Title is now displayed next to character name at top of Character view. + ### Fixed - Aspirant title would not be awarded until gaining 101 TL due to a bug. - Message received after leviathan death would say you earned the Sentinel title even if you already had it. diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index 896280d..a7b7c0e 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -1,5 +1,5 @@ <h1 class="text-3xl mb-4"> - <%= @character.name %> + <%= render "application/components/text/name_and_title", character: @character %> </h1> <div class="text-lg text-display mb-4"> |