summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/views/characters/show.html.erb11
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 %>