diff options
author | David Gay <david@davidgay.org> | 2021-06-03 21:39:57 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-03 21:39:57 -0400 |
commit | 3a3aecce332a144ff3c904b40b7aae9f32ea3deb (patch) | |
tree | 7839cdeb08fb93cdbea11b80bff3afd391a771c8 | |
parent | 9e56a00ce9fd61a45e35de62d049ab57ffd6dede (diff) |
Remove Rest section from the Character view
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/views/characters/show.html.erb | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e7ba607..df98f5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ amenities, etc that are added unless they are special in some way. ### Removed - The "Look" view. +- Rest section from the Character view. ### Fixed - No blank line was being added to combat activity results if the activity was stopped due to being too wounded. diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index 42a932e..7b37ef4 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -106,16 +106,5 @@ </div> <% if @character == current_char %> - <div class="my-6"> - <h2 class="text-xl mb-4">Rest</h2> - <p class="mb-4"> - You have <%= distance_of_time_in_words_to_now(current_char.rested_until) %> of rested time. - <% if current_char.resting? %> - This does not include time from your current rest. That time will be added when you stop resting. - <% end %> - </p> - <%= button_to current_char.resting? ? "Stop Resting" : "Start Resting", toggle_resting_path %> - </div> - <%= link_to "Manage account", edit_user_registration_path, class: "text-sm" %> <% end %> |